> but what about a fixed Regexp with the characters to escape? @Eregon please see the benchmark at https://github.com/ruby/cgi/pull/55, it doesn't compile a regexp every time and there's still a 5x difference. I only did it in this...byroot (Jean Boussier)
This allows `st_table + RHash` to fit in a `64B` slot. It is achieved by turning `entries_start` from pointer size down to a single byte. This means it can now overflow, if you delete the first element 255 times, but in such case we ca...byroot (Jean Boussier)
> GC.start in a multi-Ractor process runs a stop-the-world global GC; automatic GC in a Ractor collects only its own heap. Should `GC.start` gain some sort of `local_only: true` argument? I could see this as useful for applications...byroot (Jean Boussier)
* [Feature #22222] Expose a C API equivalent of `RubyVM::InstructionSequence.load_from_binary` (byroot) * It would allow Bootsnap to directly load iseq from C without copying bytes into a string. * `rb_str_new_static` exists but is...byroot (Jean Boussier)
@nobu yes I know, but as you mention, it's meant to point at static C strings, not mmaped files or stack buffers, so it doesn't work for Bootsnap.byroot (Jean Boussier)
Currently the only API to deserialize instruction sequence is `RubyVM::InstructionSequence.load_from_binary(String)`. It works fine, but isn't ideal for gems like bootsnap, as it needs to allocate a fairly large string and `memcpy` in...byroot (Jean Boussier)