-
-
Notifications
You must be signed in to change notification settings - Fork 1
feat(collections): add FenwickTree<T> — Binary Indexed Tree with O(log n) point update & prefix-sum query #290
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
Changes from 11 commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
2ee8fed
feat(collections): add FenwickTree<T> — Binary Indexed Tree with O(lo…
marius-bughiu 0de3100
Merge origin/main into feat/issue-289-fenwick-tree
marius-bughiu 747fd76
fix(FenwickTree): address Copilot review — length ceiling and no-op v…
marius-bughiu dec9552
test(FenwickTree): cover the collection in the Native AOT smoke test
marius-bughiu 20dc83f
fix(dashboard): classify the FenwickTree Array_* arms as the BCL base…
marius-bughiu 1f77480
perf(FenwickTree): check the length ceiling before materializing a co…
marius-bughiu a06f467
refactor(FenwickTree): pass the parameter name to the source-length t…
marius-bughiu 0980e34
fix(FenwickTree): widen the lowest-set-bit ascents to avoid int index…
marius-bughiu 4532ec8
test(FenwickTree): gate the 1 GiB overflow regression on available me…
marius-bughiu 8a0aab9
refactor(FenwickTree): extract PrefixSumCore, correct the layout word…
marius-bughiu 7f6fba1
perf(FenwickTree): call PrefixSumCore from the enumerator and Total
marius-bughiu 17d1786
ci(benchmarks): shard the core suite 8 ways so the heaviest slice fit…
marius-bughiu 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.
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.