-
Notifications
You must be signed in to change notification settings - Fork 93
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
#1264 Add .range() method to sorted_map and sorted_set #1359
#1264 Add .range() method to sorted_map and sorted_set #1359
Conversation
Here are three observations from the provided
These issues should be addressed to ensure clarity, correctness, and maintainability of the code. |
Pull Request Test Coverage Report for Build 4712Details
💛 - Coveralls |
the implementation looks good to me, but this is not commonly used operation, shall we leave it in the user land? |
Related: #1264 |
This PR is the solution of issue #1264, so I think it is an useful solution for the user land |
@E-M-T-F that looks good to me, can you change the API to return Iter2 instead?
|
@bobzhang OK,I will change the API to return Iter2 instead |
a0461cd
to
2e7fa56
Compare
2e7fa56
to
d129a06
Compare
…ove key comparisons and yield logic for better performance and clarity.
@E-M-T-F I added some tweaks, thank you |
Added .range() method to sorted_map and sorted_set, and privode the test cases