-
Notifications
You must be signed in to change notification settings - Fork 13
Use incremental upgrade to better control the RAM usage #116
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 all commits
Commits
Show all changes
29 commits
Select commit
Hold shift + click to select a range
eefb883
WIP WIP WIP
irevoire 617cb7d
cleanup all the beginning of the build process
irevoire 6cb9cb8
most of the algorithm is done but it consumes too much memory
irevoire 9ce8ff4
stop allocating dumb amount of RAM
irevoire eaeb864
review and update all the writer + reader tests snapshots + fix a sma…
irevoire 99b4252
move the incremental loop over large descendants to its own dedicated…
irevoire a5f2ec1
add progress
irevoire 714d474
reduce memory dedicated to the items when building the sub-trees
irevoire f867c78
fix the deletion of items to be ISO with main, discovered a bug in th…
irevoire c6c53c5
fix #117
irevoire e4e952e
Make a guess on the number of trees required to hold everything
irevoire 6793b60
update the large snapshot tests
irevoire b843a30
refactorize a bit
irevoire 065a299
reuse the insert_items_in_current_trees method while incrementally bu…
irevoire 66068b4
fix, improve and test the targetted number of tree
irevoire 660f697
add cancellation points
irevoire dad2ae7
Add the progress back
irevoire 7e22e02
fix warnings
irevoire 4a119f6
stop listening to dumbass clippy that want to use unstable features
irevoire 80d8f75
fix tests
irevoire 03f4d5c
remove useless pub
irevoire 99fb1b5
Update src/writer.rs
irevoire f7bc630
Update src/writer.rs
irevoire 9a114c9
apply all review comments
irevoire 365d78a
Apply suggestions from code review
irevoire 60b7e64
fix compilation
irevoire aba34cf
remove outdated comment
irevoire 277418e
comment the target tree function
irevoire 53dbcff
remove old todo
irevoire 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
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.