From: normalperson@... Date: 2015-10-29T20:11:41+00:00 Subject: [ruby-core:71272] [Ruby trunk - Feature #11634] [Open] [PATCH] variable.c (rb_global_tbl): convert to id_table Issue #11634 has been reported by Eric Wong. ---------------------------------------- Feature #11634: [PATCH] variable.c (rb_global_tbl): convert to id_table https://bugs.ruby-lang.org/issues/11634 * Author: Eric Wong * Status: Open * Priority: Normal * Assignee: ---------------------------------------- variable.c (rb_global_tbl): convert to id_table Mainly this is to reduce casting a tiny amount; and probably nothing depends on the order of globals. Likely no measurable memory usage improvement as globals are not common, but maybe some weird code out there benefits. I'm also working on patches to convert ivar-related tables to id_table; but figured I'd get this out of the way, first. There's also: https://bugs.ruby-lang.org/issues/11614 ("[RFC] use id_table for constant tables") but that is actually most likely to cause breakage in class name resolution. ---Files-------------------------------- 0001-variable.c-rb_global_tbl-convert-to-id_table.patch (4.46 KB) -- https://bugs.ruby-lang.org/