aboutsummaryrefslogtreecommitdiffstats
path: root/internal/gc.h
diff options
context:
space:
mode:
authorPeter Zhu <peter@peterzhu.ca>2023-09-05 13:34:41 -0400
committerPeter Zhu <peter@peterzhu.ca>2023-09-05 14:32:15 -0400
commit06a1d16dc2108c54090a0fca8b356f39ef353a99 (patch)
treea4d6321b015dd7c9afa3affe686cf4860441c9a7 /internal/gc.h
parentbdfa885f87b291dac8d0d390ba06b7f69f48da34 (diff)
downloadruby-06a1d16dc2108c54090a0fca8b356f39ef353a99.tar.gz
Reuse allocated buffer in WeakMap
If the key exists in WeakMap and WeakKeyMap, then we can reuse the buffer and we can avoid an allocation.
Diffstat (limited to 'internal/gc.h')
0 files changed, 0 insertions, 0 deletions