[ruby-cvs:71108] normal:r64017 (trunk): thread.c (rb_thread_fd_select): remove unnecessary rb_fd_resize calls

normal at ruby-lang.org normal at ruby-lang.org
Mon Jul 23 09:51:51 JST 2018


normal	2018-07-23 09:51:51 +0900 (Mon, 23 Jul 2018)

  New Revision: 64017

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=64017

  Log:
    thread.c (rb_thread_fd_select): remove unnecessary rb_fd_resize calls
    
    There's no need to resize each rb_fdset_t to match the size of
    the biggest one.  This can allow some small memory savings if
    watching several sets of FDs simultaneously.

  Modified files:
    trunk/thread.c


More information about the ruby-cvs mailing list