about summary refs log tree commit diff
path: root/src/test/rustdoc-ui/coverage/basic.rs
diff options
context:
space:
mode:
authorMarkus Westerlind <markus.westerlind@imperva.com>2020-01-08 23:13:56 +0100
committerMarkus Westerlind <markus.westerlind@imperva.com>2020-01-08 23:20:19 +0100
commita5657dbc43d84133bd95e5de178d68634973b1b3 (patch)
treecf9ea54d17d6109b06d9518a8944c38fd261c104 /src/test/rustdoc-ui/coverage/basic.rs
parentf48e576756cd0c360e5522974fc8d5867b439092 (diff)
downloadrust-a5657dbc43d84133bd95e5de178d68634973b1b3.tar.gz
rust-a5657dbc43d84133bd95e5de178d68634973b1b3.zip
perf: Avoid creating a SmallVec if nothing changes during a fold
Not sure if this helps but in theory it should be less work than what
the current micro optimization does for `ty::Predicate` lists.

(It would explain the overhead I am seeing from `perf`.)
Diffstat (limited to 'src/test/rustdoc-ui/coverage/basic.rs')
0 files changed, 0 insertions, 0 deletions