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

Small improvement in RawTableInner::rehash_in_place function #361

Merged
merged 1 commit into from
Sep 8, 2022

Conversation

JustForFun88
Copy link
Contributor

Small improvement on rehashing. There is no point in calculating the memory place first if we exit the loop in the next step.

@JustForFun88
Copy link
Contributor Author

Again test failing caused by rust-lang/rust#101474 as mentioned in #359

@Amanieu
Copy link
Member

Amanieu commented Sep 8, 2022

I would expect this to be handled by the compiler, but I guess it doesn't hurt.

@bors r+

@bors
Copy link
Contributor

bors commented Sep 8, 2022

📌 Commit 5f059ce has been approved by Amanieu

It is now in the queue for this repository.

@bors
Copy link
Contributor

bors commented Sep 8, 2022

⌛ Testing commit 5f059ce with merge 1604045...

@bors
Copy link
Contributor

bors commented Sep 8, 2022

☀️ Test successful - checks-actions
Approved by: Amanieu
Pushing 1604045 to master...

@bors bors merged commit 1604045 into rust-lang:master Sep 8, 2022
@JustForFun88 JustForFun88 deleted the improve_rehashing branch September 8, 2022 18:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants