From: nobu@... Date: 2015-07-19T01:02:44+00:00 Subject: [ruby-core:70034] [Ruby trunk - Feature #11371] [PATCH] parse.y (struct parser_params): pack to 4 cache lines on x86-64 Issue #11371 has been updated by Nobuyoshi Nakada. Why remove this line? > - parser->parser_in_defined = 0; ---------------------------------------- Feature #11371: [PATCH] parse.y (struct parser_params): pack to 4 cache lines on x86-64 https://bugs.ruby-lang.org/issues/11371#change-53457 * Author: Eric Wong * Status: Open * Priority: Normal * Assignee: ---------------------------------------- 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-------------------------------- 0001-parse.y-struct-parser_params-pack-to-four-cache-line.patch (4.96 KB) -- https://bugs.ruby-lang.org/