about summary refs log tree commit diff
path: root/src/libstd/sys
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-06-28 13:23:07 +0000
committerbors <bors@rust-lang.org>2018-06-28 13:23:07 +0000
commit5d95db34a472dc09a90737c83ab533b840dcd224 (patch)
tree5c110943f3ff5516511a14e93af0b5abd6450452 /src/libstd/sys
parent9f79d2f86af73da483f4fe8e2422c15c79221d32 (diff)
parent851cc39503a53b38ecbdd03bd391289e095bd7ca (diff)
downloadrust-5d95db34a472dc09a90737c83ab533b840dcd224.tar.gz
rust-5d95db34a472dc09a90737c83ab533b840dcd224.zip
Auto merge of #51630 - joshlf:map-split-perf, r=dtolnay
Optimize RefCell refcount tracking

Address the performance concern raised in https://github.com/rust-lang/rust/pull/51466#issuecomment-398255276

cc @dtolnay  @nnethercote @rust-lang/wg-compiler-performance

cc @RalfJung @jhjourdan for soundness concerns

Can somebody kick off a perf run on this? I'm not sure how that's done, but I understand it has to be started manually.

The idea of this change is to switch to representing mutable refcount as values below 0 to eliminate some branching that was required with the old algorithm.
Diffstat (limited to 'src/libstd/sys')
0 files changed, 0 insertions, 0 deletions