rust/src
bors 4daa62a55f Auto merge of #25230 - rayglover:patch-bitset, r=Gankro
Some modest running-time improvements to `std::collections::BitSet` on bit-sets of varying set-membership densities. This is work originally from [here](https://github.com/rayglover/alt_collections). (Benchmarks copied below)
```
std::collections::BitSet / alt_collections::BitSet

copy_dense         ... 3.08x
copy_sparse        ... 4.22x
count_dense        ... 11.01x
count_sparse       ... 8.11x
from_bytes         ... 1.47x
intersect_dense    ... 6.54x
intersect_sparse   ... 4.37x
union_dense        ... 5.53x
union_sparse       ... 5.60x
```

The exception is `from_bytes`, which I've left unaltered since the optimization is rather obscure.

Compiling with the cpu feature `popcnt` gave a further ~10% improvement on my machine, but this wasn't factored in to the benchmarks above.

Similar improvements could be made to `BitVec`, although that would probably require more substantial changes.

criticism welcome!
2015-05-18 19:54:24 +00:00
..
compiler-rt@58ab642c30
compiletest
doc Rollup merge of #25530 - peferron:doc-closures-whitespace-fix, r=alexcrichton 2015-05-18 08:55:38 +05:30
driver
error-index-generator
etc
grammar Revert "Panic if the grammar verifier sees a token it doesn't recognize" 2015-05-17 10:48:42 -04:00
jemalloc@e24a1a025a
liballoc Make Arc support DSTs 2015-05-17 11:25:17 +12:00
libarena
libbacktrace
libcollections Auto merge of #25230 - rayglover:patch-bitset, r=Gankro 2015-05-18 19:54:24 +00:00
libcollectionstest
libcore Auto merge of #25434 - dotdash:gep, r=alexcrichton 2015-05-16 19:17:30 +00:00
libcoretest
libflate
libfmt_macros
libgetopts
libgraphviz
liblibc
liblog
librand
librbml
librustc Auto merge of #25527 - inrustwetrust:const-not-overflow, r=alexcrichton 2015-05-17 23:53:41 +00:00
librustc_back Auto merge of #25387 - eddyb:syn-file-loader, r=nikomatsakis 2015-05-17 00:05:34 +00:00
librustc_bitflags
librustc_borrowck
librustc_data_structures
librustc_driver Auto merge of #25387 - eddyb:syn-file-loader, r=nikomatsakis 2015-05-17 00:05:34 +00:00
librustc_lint
librustc_llvm
librustc_privacy
librustc_resolve Auto merge of #25485 - XuefengWu:24968_err_msg_parse_self_type_2, r=nrc 2015-05-16 20:53:42 +00:00
librustc_trans Auto merge of #25387 - eddyb:syn-file-loader, r=nikomatsakis 2015-05-17 00:05:34 +00:00
librustc_typeck Auto merge of #25501 - nham:E0072_E0073, r=alexcrichton 2015-05-18 15:39:07 +00:00
librustc_unicode
librustdoc Auto merge of #25387 - eddyb:syn-file-loader, r=nikomatsakis 2015-05-17 00:05:34 +00:00
libserialize
libstd Rollup merge of #25522 - alexcrichton:reexport-incoming, r=sfackler 2015-05-17 11:55:40 +05:30
libsyntax syntax: Remove unused packed attribute 2015-05-18 00:30:40 +09:00
libterm
libtest
llvm@bff6907697
rt
rust-installer@e54d4823d2
rustbook
rustllvm
test Auto merge of #25501 - nham:E0072_E0073, r=alexcrichton 2015-05-18 15:39:07 +00:00
snapshots.txt