Project

General

Profile

Actions

Feature #11634

open

[PATCH] variable.c (rb_global_tbl): convert to id_table

Added by normalperson (Eric Wong) over 8 years ago.

Status:
Open
Assignee:
-
Target version:
-
[ruby-core:71272]

Description

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

No data to display

Actions

Also available in: Atom PDF

Like0