mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
907b4b99d1
when the allocator can extend the block in place, realloc avoids the overhead of malloc+memcpy+free. the keys are moved to their new position with memmove and extended regions are cleared. Co-authored-by: Claude <noreply@anthropic.com>