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

Add Lopmap, a more value-centric map #147

Merged
merged 2 commits into from
Dec 17, 2024
Merged

Conversation

oblivioncth
Copy link
Owner

Sorts keys by value instead of themselves (i.e. iterating the map will
be in order of value). Functions that normally return a range of
iterators (i.e. equal_range) are based on the positions of values
instead of keys.

Has reverse iterators, allows for custom comparator.

@github-actions github-actions bot added the enhancement New feature or request label Dec 16, 2024
@oblivioncth oblivioncth force-pushed the feature/value_sorted_map branch from c844b06 to 9269722 Compare December 16, 2024 23:20
Sorts keys by value instead of themselves (i.e. iterating the map will
be in order of value). Functions that normally return a range of
iterators (i.e. equal_range) are based on the positions of values
instead of keys.

Has reverse iterators, allows for custom comparator.
@oblivioncth oblivioncth force-pushed the feature/value_sorted_map branch from 9269722 to 0205ea3 Compare December 17, 2024 00:08
@oblivioncth oblivioncth merged commit 8625559 into dev Dec 17, 2024
12 checks passed
@oblivioncth oblivioncth deleted the feature/value_sorted_map branch December 17, 2024 00:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant