Skip to content

Refactor Enumerator::ArithmeticSequence to not use ivars #13577

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

Merged
merged 1 commit into from
Jun 10, 2025

Conversation

casperisfine
Copy link
Contributor

It's an embedded TypedData, it can much more efficiently store the references it need without using ivars.

NB: This change would likely silence the currently existing test_array.rb crash, but it wouldn't fix the actual bug, just not make it appear anymore.

It's an embedded TypedData, it can much more efficiently store
the references it need without using ivars.
@byroot byroot marked this pull request as ready for review June 10, 2025 16:30
@byroot byroot requested a review from peterzhu2118 June 10, 2025 16:30
@byroot byroot enabled auto-merge (rebase) June 10, 2025 16:41
@byroot byroot merged commit bcb4fbe into ruby:master Jun 10, 2025
88 of 103 checks passed
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.

3 participants