summaryrefslogtreecommitdiff
path: root/spec/ruby/core/array/pack/shared
diff options
context:
space:
mode:
authorNagayamaRyoga <nagayama15@sec.is.kit.ac.jp>2019-12-18 19:26:02 +0900
committerAlan Wu <XrXr@users.noreply.github.com>2020-02-09 11:33:38 -0500
commit6e5e6a40c4c35aee1cfb7d0effa47354f80baa9e (patch)
tree380979cd316b881b12cc7d2e5b0c8185bdaa6a63 /spec/ruby/core/array/pack/shared
parent2079f436c7d4047cb09af005e9f8eb6fbf256000 (diff)
Deduplicate objects efficiently when dumping iseq to binary
We were inefficient in cases where there are a lot of duplicates due to the use of linear search. Use a hash table instead. These cases are not that rare in the wild. [Feature #16505]
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/2835
Diffstat (limited to 'spec/ruby/core/array/pack/shared')
0 files changed, 0 insertions, 0 deletions