Feature #9841
closed[RFC] use ihash for fstring implementation
Description
This results in ~100K[1] memory savings on start up (with RubyGems
loaded) with no user-visible changes.
While this is not the best example of potential ihash-related memory
savings, there is zero-visible impact related to the loss of hash
ordering from this change.
Per-fstring entry overhead is now 24 bytes per-entry on 64-bit,
half of the previous 48 bytes from st_table_entry_t.
[1] as measured by the time(1) command on eglibc 2.13-38+deb7u1
(Debian 7.0 on x86-64)
Related to Feature #9614
(note: I will have limited Internet access until next week,
free to take your time in reviewing and responding)
Also viewable via git:
http://bogomips.org/ruby.git/patch?id=61c27401ed66 (1/2)
http://bogomips.org/ruby.git/patch?id=67f47a356a7f (2/2)
Files