`RUBY_TYPED_EMBEDDABLE` is public API [since Ruby 3.4](https://bugs.ruby-lang.org/issues/21853). We can use it to vastly reduce the number of allocations Rubydex gem does. * What is it? https://railsatscale.com/2025-06-03-implementing-embedded-typeddata-objects/ * Example commit showing how it was applied to the `json` gem: https://github.com/ruby/json/commit/101f7342cd61f21d17405eff52fec23bb958d6c7
RUBY_TYPED_EMBEDDABLEis public API since Ruby 3.4. We can use it to vastly reduce the number of allocations Rubydex gem does.jsongem: ruby/json@101f734