[ruby-cvs:53959] normal:r46813 (trunk): iseq.h (struct iseq_catch_table_entry): shrink to 32 bytes on 64-bit

normal at ruby-lang.org normal at ruby-lang.org
Mon Jul 14 16:09:01 JST 2014


normal	2014-07-14 16:08:55 +0900 (Mon, 14 Jul 2014)

  New Revision: 46813

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

  Log:
    iseq.h (struct iseq_catch_table_entry): shrink to 32 bytes on 64-bit
    
    * iseq.h (struct iseq_catch_table_entry): shrink to 32 bytes on 64-bit
    
    This drops a few minor page faults on my system at startup.
    Using 64-bit start, end, cont, and sp fields are unnecessary as
    label_get_position and label_get_sp only return int values.
    label_get_position and label_get_sp should probably return
    unsigned, but that is a future change.

  Modified files:
    trunk/ChangeLog
    trunk/iseq.h


More information about the ruby-cvs mailing list