-
Notifications
You must be signed in to change notification settings - Fork 181
Optimize IntMap.Bin #995
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
Optimize IntMap.Bin #995
Changes from all commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
554f143
IntMap: Merge prefix and mask in Bin
meooow25 512eb9b
Update lookupGE benchmarks
meooow25 a016498
Tweaks
meooow25 a7069d4
Use bitwise or instead of addition for clarity
meooow25 ea86844
Tweaks and docs
meooow25 58cbc6a
A slightly more efficient nomatch
meooow25 4b708ba
More efficient map-map branching
meooow25 82f4852
Remove getPrefix and getMask
meooow25 91c7a9e
Update prefix validation
meooow25 237178a
Tweaks and docs
meooow25 9ce5cc6
Simplify the validity check
meooow25 761fbda
Tweak invariant documentation
meooow25 a7da708
Add note on the relation to the Okasaki-Gill paper
meooow25 4ff6757
Use efficient hasPrefix in IntMapValidity
meooow25 afa9d61
Update Intmap/Prefix doc
meooow25 5e6505d
Document MapMapBranch
meooow25 b163af6
Test hasPrefix
meooow25 122a1d1
Add some notes for mapMapBranch
meooow25 e568f76
Tweak
meooow25 8fb07d0
Adopt BurningWitness's lower/upper helpers
meooow25 01de53a
Use bitwise or instead of plus for clarity (again)
meooow25 5922956
Keep this comment
meooow25 b59fe5f
Doc tweak
meooow25 8e1288b
Add property tests for is{Proper}SubmapOfBy
meooow25 5289272
Generate large keys in Arbitrary IntMap for better coverage
meooow25 4a9cc76
Add GHC flags for more stable benchmarks
meooow25 7e2ca1c
Remove -with-rtsopts=-A32m
meooow25 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.