about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorUlrik Sverdrup <bluss@users.noreply.github.com>2016-12-03 22:11:06 +0100
committerUlrik Sverdrup <bluss@users.noreply.github.com>2016-12-04 15:46:36 +0100
commit343b4c321d9ab0e1efc7953a15ee0dbc62c722a9 (patch)
treeab3ce820fb0891387c2dc224ce440cb26764f429 /src/test/incremental/thinlto
parent7ba762253ccf487ae61b2be45a9edfdf19b79cc0 (diff)
downloadrust-343b4c321d9ab0e1efc7953a15ee0dbc62c722a9.tar.gz
rust-343b4c321d9ab0e1efc7953a15ee0dbc62c722a9.zip
collections: Simplify VecDeque::is_empty
Improve is_empty on the VecDeque and its iterators by just comparing
tail and head; this saves a few instructions (to be able to remove the
`& (size - 1)` computation, it would have to know that size is a power of two).
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions