https://redmine.ruby-lang.org/https://redmine.ruby-lang.org/favicon.ico?17113305112014-07-20T04:18:57ZRuby Issue Tracking SystemRuby master - Feature #10034: [PATCH] (struct re_pattern_buffer): reduce by cache linehttps://redmine.ruby-lang.org/issues/10034?journal_id=479182014-07-20T04:18:57ZAnonymous
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Closed</i></li><li><strong>% Done</strong> changed from <i>0</i> to <i>100</i></li></ul><p>Applied in changeset r46881.</p>
<hr>
<p>re_pattern_buffer: shrink from 464 to 448 bytes on 64-bit</p>
<ul>
<li>include/ruby/oniguruma.h (struct re_pattern_buffer): shrink to 448<br>
bytes from 464 bytes on 64-bit. This breaks the ABI.<br>
[Feature <a class="issue tracker-2 status-5 priority-4 priority-default closed" title="Feature: [PATCH] (struct re_pattern_buffer): reduce by cache line (Closed)" href="https://redmine.ruby-lang.org/issues/10034">#10034</a>]</li>
</ul>
<p>Reducing struct re_pattern_buffer from 464 to 448 bytes allows it to fit<br>
into neatly into seven 64-byte cache lines on x86-64 systems.</p>