Skip to content

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 <[email protected]>
@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.

2 participants