summaryrefslogtreecommitdiff
path: root/include/ruby/io/buffer.h
diff options
context:
space:
mode:
authorJean Boussier <jean.boussier@gmail.com>2025-04-03 16:07:34 +0200
committerJean Boussier <jean.boussier@gmail.com>2025-04-03 16:57:57 +0200
commit4aa74b605c9960192c30c711fa6e982727eb8d1b (patch)
tree116153eec31c478adb0b8ca29197383231216873 /include/ruby/io/buffer.h
parentfab133e629c507f4add4a7dde2e0ba12b7ec281c (diff)
compile.c: avoid allocating 0 length call_data
if `body->ci_size` is `0`, there's no point allocating 0B, it just wastes an entry in the allocator.
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/13059
Diffstat (limited to 'include/ruby/io/buffer.h')
0 files changed, 0 insertions, 0 deletions