summaryrefslogtreecommitdiff
path: root/include/ruby/internal/variable.h
diff options
context:
space:
mode:
authorJean Boussier <jean.boussier@gmail.com>2025-01-13 14:04:15 +0100
committerJean Boussier <jean.boussier@gmail.com>2025-01-14 09:08:02 +0100
commit599fbeaffa8e029e11223c24af47a55500f23fc3 (patch)
treef2460eebc4afd103f29dc4ea76f580397a7a8928 /include/ruby/internal/variable.h
parentc8d11edcf556088d10f0a245139741dcab1c7d56 (diff)
[ruby/json] Refactor JSON::Ext::Parser to split configuration and parsing state
Ref: https://github.com/ruby/json/pull/718 The existing `Parser` interface is pretty bad, as it forces to instantiate a new instance for each document. Instead it's preferable to only take the config and do all the initialization needed, and then keep the parsing state on the stack on in ephemeral memory. This refactor makes the `JSON::Coder` pull request much easier to implement in a performant way. https://github.com/ruby/json/commit/c8d5236a92 Co-Authored-By: Étienne Barrié <etienne.barrie@gmail.com>
Diffstat (limited to 'include/ruby/internal/variable.h')
0 files changed, 0 insertions, 0 deletions