about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-07-22 02:43:57 +0000
committerbors <bors@rust-lang.org>2018-07-22 02:43:57 +0000
commita57d5d7b25d471c902608223793d9b3bb8c4643c (patch)
tree32b660414066a1c5cd1af1e3a1a95ae921a7cc60 /src/rustllvm/RustWrapper.cpp
parent0ad6179d3b50101cd7530e24eca9995a730ac8d9 (diff)
parent798209e78b90b83a3742f713b70473b6ab799aca (diff)
downloadrust-a57d5d7b25d471c902608223793d9b3bb8c4643c.tar.gz
rust-a57d5d7b25d471c902608223793d9b3bb8c4643c.zip
Auto merge of #52250 - nnethercote:no-SparseBitMatrix, r=nikomatsakis
Speed up `SparseBitMatrix` use in `RegionValues`.

In practice, these matrices range from 10% to 90%+ full once they are
filled in, so the dense representation is better.

This reduces the runtime of Check Nll builds of `inflate` by 32%, and
several other benchmarks by 1--5%.

It also increases max-rss of `clap-rs` by 30% and a couple of others by
up to 5%, while decreasing max-rss of `coercions` by 14%. I think the
speed-ups justify the max-rss increases.

r? @nikomatsakis
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions