[ruby-cvs:54827] normal:r47679 (trunk): ext/socket/*.c: trivial struct packing for 64-bit

normal at ruby-lang.org normal at ruby-lang.org
Mon Sep 22 09:46:27 JST 2014


normal	2014-09-22 09:46:25 +0900 (Mon, 22 Sep 2014)

  New Revision: 47679

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

  Log:
    ext/socket/*.c: trivial struct packing for 64-bit
    
    * ext/socket/ancdata.c ({send,recv}msg_args_struct): 24 => 16 bytes
    * ext/socket/init.c (connect_arg): ditto
    * ext/socket/raddrinfo.c (getnameinfo_arg): 56 => 48 bytes
    
    Other big stack reductions are less trivial.

  Modified files:
    trunk/ChangeLog
    trunk/ext/socket/ancdata.c
    trunk/ext/socket/init.c
    trunk/ext/socket/raddrinfo.c


More information about the ruby-cvs mailing list