1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00
ruby--ruby/ext/objspace
ko1 8f675cdd00 support theap for T_HASH. [Feature #14989]
* hash.c, internal.h: support theap for small Hash.
  Introduce RHASH_ARRAY (li_table) besides st_table and small Hash
  (<=8 entries) are managed by an array data structure.
  This array data can be managed by theap.
  If st_table is needed, then converting array data to st_table data.

  For st_table using code, we prepare "stlike" APIs which accepts hash value
  and are very similar to st_ APIs.

  This work is based on the GSoC achievement
  by tacinight <tacingiht@gmail.com> and refined by ko1.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65454 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
2018-10-30 22:11:51 +00:00
..
depend ruby tool/update-deps --fix 2017-03-22 06:00:18 +00:00
extconf.rb ext/objspace: Specify frozen_string_literal: true. 2017-02-12 04:31:25 +00:00
object_tracing.c ext/objspace/object_tracing.c (freeobj_i): fix missing assignment 2018-09-07 14:37:19 +00:00
objspace.c support theap for T_HASH. [Feature #14989] 2018-10-30 22:11:51 +00:00
objspace.h
objspace_dump.c ext/objspace/objspace_dump.c: print addresses consistently 2018-10-09 03:21:57 +00:00