summaryrefslogtreecommitdiff
path: root/spec/ruby/core/array/pack
diff options
context:
space:
mode:
authorJean Boussier <jean.boussier@gmail.com>2025-05-07 18:17:16 +0200
committerJean Boussier <jean.boussier@gmail.com>2025-05-08 07:58:05 +0200
commitcf9046c00b985e46ae48f4a0871d1481ce987b99 (patch)
tree8ef6171ae08fa51c47a3ea9abf690a33111627db /spec/ruby/core/array/pack
parent2d1241ba97a048830421f840a628471bbbeea469 (diff)
Refactor `id_to_obj_tbl` compaction
Use `st_foreach_with_replace` rather than to call `st_insert` from inside `st_foreach`, this saves from having to disable GC. Co-Authored-By: Peter Zhu <peter@peterzhu.ca>
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/13159
Diffstat (limited to 'spec/ruby/core/array/pack')
0 files changed, 0 insertions, 0 deletions