[ruby-cvs:54742] normal:r47594 (trunk): trivial packing for on-stack structs

normal at ruby-lang.org normal at ruby-lang.org
Mon Sep 15 16:31:41 JST 2014


normal	2014-09-15 16:31:38 +0900 (Mon, 15 Sep 2014)

  New Revision: 47594

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

  Log:
    trivial packing for on-stack structs
    
    * io.c (struct io_advise_struct): 32 => 24 bytes on 64-bit
    * io.c (struct io_internal_writev_struct): 24 => 16 bytes on 64-bit
    * process.c (struct waitpid_arg): ditto
    
    Slightly reduce stack pressure.

  Modified files:
    trunk/ChangeLog
    trunk/io.c
    trunk/process.c


More information about the ruby-cvs mailing list