Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[0.9 stable] Improve shape friendliness of ActionController::Serialization #2463

Merged
merged 1 commit into from
Apr 9, 2024

Conversation

casperisfine
Copy link

Lazily defining instance variable can significantly increase the number of shapes on Ruby 3.2+ which isn't good for performance.

Extracted from: #2461

cc @bf4

Lazily defining instance variable can significantly increase
the number of shapes on Ruby 3.2+ which isn't good for performance.
@byroot byroot merged commit 91f57c1 into rails-api:0-9-stable Apr 9, 2024
7 checks passed
@byroot byroot changed the title Improve shape friendliness of ActionController::Serialization [0.9 stable] Improve shape friendliness of ActionController::Serialization Apr 9, 2024
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.

2 participants