Skip to content

introduce benchmarks of BTreeSet.intersection - #58620

Merged
bors merged 1 commit into
rust-lang:masterfrom
ssomers:btreeset_intersection_benchmarks
Feb 23, 2019
Merged

introduce benchmarks of BTreeSet.intersection#58620
bors merged 1 commit into
rust-lang:masterfrom
ssomers:btreeset_intersection_benchmarks

Conversation

@ssomers

Copy link
Copy Markdown
Contributor

16 tests combining 4 kinds of contents with different sizes exposing edge cases.
The ones with asymmetric sizes are addressed by #58577.
The pos_vs_neg cases seems (are were meant to be) the same as the neg_vs_pos case (same thing, reverse order) but reality shows a surprsing 25% difference.

@rust-highfive

Copy link
Copy Markdown
Contributor

r? @alexcrichton

(rust_highfive has picked a reviewer for you, use r? to override)

@rust-highfiverust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Feb 21, 2019
@ssomers

Copy link
Copy Markdown
ContributorAuthor

r? @KodrAus

@KodrAus

Copy link
Copy Markdown
Contributor

Thanks @ssomers!

@bors r+ rollup

@bors

bors commented Feb 21, 2019

Copy link
Copy Markdown
Collaborator

📌 Commit 09a2454 has been approved by KodrAus

@bors

bors commented Feb 21, 2019

Copy link
Copy Markdown
Collaborator

🌲 The tree is currently closed for pull requests below priority 99, this pull request will be tested once the tree is reopened

@borsbors added S-waiting-on-bors Status: Waiting on bors to run and complete tests. Bors will change the label on completion. and removed S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. labels Feb 21, 2019
@CentrilCentril mentioned this pull request Feb 22, 2019
Centril added a commit to Centril/rust that referenced this pull request Feb 22, 2019
…marks, r=KodrAus
introduce benchmarks of BTreeSet.intersection
16 tests combining 4 kinds of contents with different sizes exposing edge cases.
The ones with asymmetric sizes are addressed by rust-lang#58577.
The pos_vs_neg cases seems (are were meant to be) the same as the neg_vs_pos case (same thing, reverse order) but reality shows a surprsing 25% difference.
@CentrilCentril mentioned this pull request Feb 22, 2019
bors added a commit that referenced this pull request Feb 22, 2019
Rollup of 17 pull requests
Successful merges:
- #57656 (Deprecate the unstable Vec::resize_default)
- #58059 (deprecate before_exec in favor of unsafe pre_exec)
- #58064 (override `VecDeque::try_rfold`, also update iterator)
- #58198 (Suggest removing parentheses surrounding lifetimes)
- #58431 (fix overlapping references in BTree)
- #58555 (Add a note about 2018e if someone uses `try {` in 2015e)
- #58588 (remove a bit of dead code)
- #58589 (cleanup macro after 2018 transition)
- #58591 (Dedup a rustdoc diagnostic construction)
- #58600 (fix small documentation typo)
- #58601 (Search for target_triple.json only if builtin target not found)
- #58606 (Docs: put Future trait into spotlight)
- #58607 (Fixes#58586: Make E0505 erronous example fail for the 2018 edition)
- #58615 (miri: explain why we use static alignment in ref-to-place conversion)
- #58620 (introduce benchmarks of BTreeSet.intersection)
- #58621 (Update miri links)
- #58632 (Make std feature list sorted)
Failed merges:
r? @ghost
@bors
bors merged commit 09a2454 into rust-lang:masterFeb 23, 2019
@ssomers
ssomers deleted the btreeset_intersection_benchmarks branch February 23, 2019 00:49
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-waiting-on-borsStatus: Waiting on bors to run and complete tests. Bors will change the label on completion.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants

@ssomers@rust-highfive@KodrAus@bors@alexcrichton