[ruby-cvs:54027] normal:r46881 (trunk): re_pattern_buffer: shrink from 464 to 448 bytes on 64-bit

normal at ruby-lang.org normal at ruby-lang.org
Sun Jul 20 13:18:49 JST 2014


normal	2014-07-20 13:18:49 +0900 (Sun, 20 Jul 2014)

  New Revision: 46881

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

  Log:
    re_pattern_buffer: shrink from 464 to 448 bytes on 64-bit
    
    * include/ruby/oniguruma.h (struct re_pattern_buffer): shrink to 448
      bytes from 464 bytes on 64-bit.  This breaks the ABI.
      [Feature #10034]
    
    Reducing struct re_pattern_buffer from 464 to 448 bytes allows it to fit
    into neatly into seven 64-byte cache lines on x86-64 systems.

  Modified files:
    trunk/ChangeLog
    trunk/include/ruby/oniguruma.h


More information about the ruby-cvs mailing list