]> git.lizzy.rs Git - rust.git/commit - src/tools/miri
Rollup merge of #68857 - Marwes:allocations, r=matthewjasper
authorDylan DPC <dylan.dpc@gmail.com>
Sat, 8 Feb 2020 23:53:53 +0000 (00:53 +0100)
committerGitHub <noreply@github.com>
Sat, 8 Feb 2020 23:53:53 +0000 (00:53 +0100)
commit664d87f9b1e54421e9fa77988e92be53337821fd
treed8808088034babab5e2873d5327e90c0cedd4b67
parentcb87c958ef147f144d4b973e04e26a6bf9ddde9d
parent51b891ae2cf55ce0a265fa99e92bdb7b19244112
Rollup merge of #68857 - Marwes:allocations, r=matthewjasper

perf: Reduce Vec allocations in normalization by passing &mut Vec

Complicates the code a bit but allocation/freeing were a few percent of the overall runtime in trait heavy code.
src/librustc/traits/mod.rs