From: normalperson@... Date: 2014-02-06T20:43:45+00:00 Subject: [ruby-core:60544] [ruby-trunk - Feature #9496] [PATCH] constant.h: repacking rb_const_entry_struct Issue #9496 has been updated by Eric Wong. Thanks, committed as r44869. This consistently lowers time(1) measurement of "ruby -e exit" memory use by ~10-16K on my x86_64 machine, so it should help with bigger apps. ---------------------------------------- Feature #9496: [PATCH] constant.h: repacking rb_const_entry_struct https://bugs.ruby-lang.org/issues/9496#change-45000 * Author: Adam Avilla * Status: Closed * Priority: Normal * Assignee: * Category: * Target version: ---------------------------------------- From f8c53e2242e514626a4c9cecba149213ae286722 Mon Sep 17 00:00:00 2001 From: hekaldama Date: Wed, 29 Jan 2014 08:50:16 -0800 Subject: [PATCH] constant.h: repacking rb_const_entry_struct --- constant.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/constant.h b/constant.h index 3dc9b8d..1536546 100644 --- a/constant.h +++ b/constant.h @@ -18,9 +18,9 @@ typedef enum { . typedef struct rb_const_entry_struct { rb_const_flag_t flag; + int line; const VALUE value; /* should be mark */ const VALUE file; /* should be mark */ - int line; } rb_const_entry_t; . VALUE rb_mod_private_constant(int argc, VALUE *argv, VALUE obj); --. 1.8.5.1 -- http://bugs.ruby-lang.org/