-
Notifications
You must be signed in to change notification settings - Fork 124
change return type of @sorted_map.{keys, values}
to Iter
#2123
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
base: main
Are you sure you want to change the base?
Conversation
New iterator-based implementation is more memory efficientCategory Consistent deprecation noticesCategory Tree traversal order is preserved in new iterator implementationCategory |
Pull Request Test Coverage Report for Build 7421Details
💛 - Coveralls |
cdbb06e
to
5c174ea
Compare
Same as #2124, this introduces breaking changes. It would be better to have some migration process for users. |
Thanks for the feedback. I’d like to ensure we handle the migration correctly. Since this is a return type change (not just a rename), could you clarify the preferred way to deprecate the old behavior while maintaining backward compatibility? I noticed PR #1861 made a similar change directly—should we follow that precedent, or is there a different pattern you’d recommend for this case? |
5c174ea
to
c2f9399
Compare
b3df260
to
389ff77
Compare
Yeah, I admit that #1861 did it abruptly. If possible, I would like you to define a new method, probably something like |
Waiting for #2124 to be merged first. |
@sorted_map.{keys, values}
to Iter
754cd80
to
00e668a
Compare
see #2108