Skip to content

Improvements to support json library#8574

Merged
headius merged 2 commits intojruby:masterfrom
headius:json_help
Feb 11, 2025
Merged

Improvements to support json library#8574
headius merged 2 commits intojruby:masterfrom
headius:json_help

Conversation

@headius
Copy link
Member

@headius headius commented Jan 16, 2025

These are optimizations and cleanup found while working to improve the performance of the json library.

See ruby/json#725

* Deduplicate it as in CRuby.
* Atomically update reference in RubySymbol so only one ever.
* Return it from other methods that return Symbol name as String.
Dup name string because we know it already has code range set.
@headius headius added this to the JRuby 9.4.13.0 milestone Feb 11, 2025
@headius headius marked this pull request as ready for review February 11, 2025 02:12
@headius headius merged commit f0df4bb into jruby:master Feb 11, 2025
93 of 95 checks passed
@headius headius deleted the json_help branch February 11, 2025 02:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant