diff options
author | Peter Zhu <peter@peterzhu.ca> | 2023-09-05 13:34:41 -0400 |
---|---|---|
committer | Peter Zhu <peter@peterzhu.ca> | 2023-09-05 14:32:15 -0400 |
commit | 06a1d16dc2108c54090a0fca8b356f39ef353a99 (patch) | |
tree | a4d6321b015dd7c9afa3affe686cf4860441c9a7 /internal/gc.h | |
parent | bdfa885f87b291dac8d0d390ba06b7f69f48da34 (diff) | |
download | ruby-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