Project

General

Profile

Actions

Feature #9638

closed

[PATCH] limit IDs to 32-bits on 64-bit systems

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

Status:
Rejected
Assignee:
-
Target version:
[ruby-core:61496]

Description

This should allow better use of cache-friendly lookup mechanisms such as
funny_falcon's sparse array in [ruby-core:55079]

Also limits symbol space to prevent OOM.

Some structs may also be made smaller as a result (rb_method_entry_t).

We're changing ABI for 2.2.0 anyways, so this is a good time to introduce
this change.


Files

0001-ID-is-always-uint32_t.patch (3.62 KB) 0001-ID-is-always-uint32_t.patch normalperson (Eric Wong), 03/14/2014 07:06 PM

Related issues 1 (0 open1 closed)

Related to Ruby master - Feature #11420: Introduce ID key table into MRIClosedko1 (Koichi Sasada)Actions
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0