Fix an off by one in rb_ary_resize
When setting len to X we only need to grow the array if len is bigger than capa. If they're equal we don't need to increase capacity.
This commit is contained in:
parent
1c4dbb133e
commit
bf225feb26
Notes:
git
2024-12-04 21:46:24 +00:00
Loading…
x
Reference in New Issue
Block a user