Actions
Feature #10034
closed[PATCH] (struct re_pattern_buffer): reduce by cache line
Description
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.
ABI is changed in 2.2.0dev anyways, so we may do this.
Will commit in a few days.
C extension users will need to rebuild extensions for this.
There'll probably be more changes like this (rb_io_t, maybe others).
Files
Updated by Anonymous about 10 years ago
- Status changed from Open to Closed
- % Done changed from 0 to 100
Applied in changeset r46881.
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.
Actions
Like0
Like0