[ruby/psych] Make Ractor-ready.
Config is Ractor-local.
Benchmarking reveals that using Ractor.local_storage for storing cache is similar to accessing a constant (~15% slower).
Ractor.local_storage
[ruby/psych] Make Ractor-ready.
Config is Ractor-local.
Benchmarking reveals that using
Ractor.local_storage
for storing cacheis similar to accessing a constant (~15% slower).