diff options
| author | Markus Westerlind <markus.westerlind@imperva.com> | 2020-01-08 23:13:56 +0100 |
|---|---|---|
| committer | Markus Westerlind <markus.westerlind@imperva.com> | 2020-01-08 23:20:19 +0100 |
| commit | a5657dbc43d84133bd95e5de178d68634973b1b3 (patch) | |
| tree | cf9ea54d17d6109b06d9518a8944c38fd261c104 /src/test/rustdoc-ui/coverage/basic.rs | |
| parent | f48e576756cd0c360e5522974fc8d5867b439092 (diff) | |
| download | rust-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
