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

Do not perform superfluous bounds checks on dropping crossbeam-epoch::Bag #442

Merged
merged 1 commit into from Oct 27, 2019

Conversation

Shnatsel
Copy link
Contributor

Addresses this comment that I didn't get a chance to act upon before merging #414.

This way bounds checks should be performed only once. However, this does not measurably impact benchmarks.

@jeehoonkang
Copy link
Contributor

Thanks!

bors r+

bors bot added a commit that referenced this pull request Oct 27, 2019
442: Do not perform superfluous bounds checks on dropping crossbeam-epoch::Bag r=jeehoonkang a=Shnatsel

Addresses [this comment](#414 (comment)) that I didn't get a chance to act upon before merging #414. 

This way bounds checks should be performed only once. However, this does not measurably impact benchmarks.

Co-authored-by: Sergey "Shnatsel" Davidoff <sdavydov@google.com>
@bors
Copy link
Contributor

bors bot commented Oct 27, 2019

Build succeeded

@bors bors bot merged commit ebb6b5f into crossbeam-rs:master Oct 27, 2019
@Shnatsel Shnatsel deleted the less-bounds-checks-on-drop branch December 30, 2019 16:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants