about summary refs log tree commit diff
path: root/src/rt/sync/rust_thread.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2013-10-16 15:21:35 -0700
committerbors <bors@rust-lang.org>2013-10-16 15:21:35 -0700
commit9d6c251881584181a0022dc41832398af2136f19 (patch)
treeca1c195cd237e8af82db081b74c679786d65bc6d /src/rt/sync/rust_thread.cpp
parentfa03c9454640032bb1b6a33f996eee0f39e2b946 (diff)
parentbd7610f3e3861f5b2323ef03ed1c3ccbb7acef55 (diff)
downloadrust-9d6c251881584181a0022dc41832398af2136f19.tar.gz
rust-9d6c251881584181a0022dc41832398af2136f19.zip
auto merge of #9885 : thestinger/rust/vector, r=brson
The goal here is to avoid requiring a division or multiplication to compare against the length. The bounds check previously used an incorrect micro-optimization to replace the division by a multiplication, but now neither is necessary *for slices*. Unique/managed vectors will have to do a division to get the length until they are reworked/replaced.
Diffstat (limited to 'src/rt/sync/rust_thread.cpp')
0 files changed, 0 insertions, 0 deletions