diff options
| author | Jean Boussier <jean.boussier@gmail.com> | 2025-05-07 18:17:16 +0200 |
|---|---|---|
| committer | Jean Boussier <jean.boussier@gmail.com> | 2025-05-08 07:58:05 +0200 |
| commit | cf9046c00b985e46ae48f4a0871d1481ce987b99 (patch) | |
| tree | 8ef6171ae08fa51c47a3ea9abf690a33111627db /spec/ruby/core/integer/divide_spec.rb | |
| parent | 2d1241ba97a048830421f840a628471bbbeea469 (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/integer/divide_spec.rb')
0 files changed, 0 insertions, 0 deletions
