ruby/ext/json/fbuffer
Jean Boussier e4b54b0a36 [ruby/json] Replace fbuffer by stack buffers or RB_ALLOCV in parser.c
We only use that buffer for parsing integer and floats, these
are unlikely to be very big, and if so we can just use RB_ALLOCV as it will
almost always end in a small `alloca`.

This allow to no longer need `rb_protect` around the parser.

994859916a
2025-01-20 16:09:00 +09:00
..
fbuffer.h [ruby/json] Replace fbuffer by stack buffers or RB_ALLOCV in parser.c 2025-01-20 16:09:00 +09:00