about summary refs log tree commit diff
path: root/src/libstd/sys/unix/stack_overflow.rs
diff options
context:
space:
mode:
authorMazdak Farrokhzad <twingoow@gmail.com>2019-10-01 23:56:20 +0200
committerGitHub <noreply@github.com>2019-10-01 23:56:20 +0200
commit69028ae85bd6f54fed4c6e97f430db1138b986eb (patch)
tree22be04f41831a9f4f1a142e68ecfa558b25b5524 /src/libstd/sys/unix/stack_overflow.rs
parentbaba6284bf909922de9a6a98093a522b80d9f8d8 (diff)
parentd132a70bf42a6ea9bb5da352dfe33f379e75c3f5 (diff)
downloadrust-69028ae85bd6f54fed4c6e97f430db1138b986eb.tar.gz
rust-69028ae85bd6f54fed4c6e97f430db1138b986eb.zip
Rollup merge of #64820 - ssomers:master, r=bluss
BTreeSet intersection, is_subset & difference optimizations

...based on the range of values contained; in particular, a massive improvement when these ranges are disjoint (or merely touching), like in the neg-vs-pos benchmarks already in liballoc. Inspired by #64383 but none of the ideas there worked out.

I introduced another variant in IntersectionInner and in DifferenceInner, because I couldn't find a way to initialize these iterators as empty if there's no empty set around.

Also, reduced the size of "large" sets in test cases - if Miri can't handle it, it was needlessly slowing down everyone.
Diffstat (limited to 'src/libstd/sys/unix/stack_overflow.rs')
0 files changed, 0 insertions, 0 deletions