Project

General

Profile

Actions

Feature #10034

closed

[PATCH] (struct re_pattern_buffer): reduce by cache line

Added by normalperson (Eric Wong) over 9 years ago. Updated over 9 years ago.

Status:
Closed
Target version:
[ruby-core:63708]

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

re_pattern_buffer.patch (1.16 KB) re_pattern_buffer.patch normalperson (Eric Wong), 07/14/2014 08:05 AM
Actions

Also available in: Atom PDF

Like0
Like0