Project

General

Profile

Actions

Feature #11371

closed

[PATCH] parse.y (struct parser_params): pack to 4 cache lines on x86-64

Added by normalperson (Eric Wong) almost 10 years ago. Updated almost 10 years ago.

Status:
Closed
Assignee:
-
Target version:
-
[ruby-core:70024]

Description

parse.y (struct parser_params): pack to four cache lines on x86-64

This reduces the struct from 256 (from 288) bytes on my x86-64
system, allowing the struct to fit cleanly into 4 cache lines
if a malloc implementation allows it.

Pretty minor, but it might make future improvements easier-to-spot.
Will commit in a few days/weeks


Files

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0