Skip to content

Stop using RB_ALLOCV#934

Merged
byroot merged 1 commit intoruby:masterfrom
byroot:no-allocv
Feb 6, 2026
Merged

Stop using RB_ALLOCV#934
byroot merged 1 commit intoruby:masterfrom
byroot:no-allocv

Conversation

@byroot
Copy link
Member

@byroot byroot commented Feb 6, 2026

While it's a very nice API, if the buffer is too big for the stack (> 1024B) the buffer object will be mark like a stack region which is slow and overkill for a char buffer.

While it's a very nice API, if the buffer is too big for the
stack (> 1024B) the buffer object will be mark like a stack region
which is slow and overkill for a char buffer.
@byroot byroot merged commit 4dcbcb8 into ruby:master Feb 6, 2026
40 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant