-
Notifications
You must be signed in to change notification settings - Fork 13.4k
[vec] growth-strategy optimization #45434
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
Closed
Closed
Changes from all commits
Commits
Show all changes
12 commits
Select commit
Hold shift + click to select a range
96b9080
[vec] growth-strategy optimization
gnzlbg 0a9d792
style
gnzlbg 5a0502c
break doc links
gnzlbg a52f06e
vecdeque grow_by(old_cap)
gnzlbg ebab7b3
move unlikely intrinsics out of is_full
gnzlbg 30aae7b
improve reserve instead
gnzlbg 9da3665
all tests pass
gnzlbg 088127a
old heuristic for empty vectors
gnzlbg f9e2dce
tiny_alloc_4_e_4_elems_or_at_least_32_bytes
gnzlbg 42e751a
original_tiny_original_2x
gnzlbg 3639c16
original_tiny_1.5x_growth_otherwise
gnzlbg 18a82aa
use alloc_excess and realloc_excess
gnzlbg 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
Submodule book
updated
46 files
Submodule nomicon
updated
from 1625e0 to 0ee3f7
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
Submodule liblibc
updated
63 files
Submodule clippy
updated
from f76225 to b62b1b
Submodule rls
updated
from 9ad92e to 93b47d
Submodule rustfmt
updated
from 51b03c to 16a478
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this become reserve(1) as well?nevermind, I just saw bluss comment.