about summary refs log tree commit diff
path: root/src/test/ui/thinlto
diff options
context:
space:
mode:
authorMichael Howell <michael@notriddle.com>2021-03-12 23:23:42 -0700
committerMichael Howell <michael@notriddle.com>2021-03-13 00:02:56 -0700
commitd7971e587c948ce943d962073ea3caa7f6830c1d (patch)
treeffa97aa9cefd2204d949b998bc7f1d7e7177f937 /src/test/ui/thinlto
parent5fe3b8703482a132c628c102f3c188657668080e (diff)
downloadrust-d7971e587c948ce943d962073ea3caa7f6830c1d.tar.gz
rust-d7971e587c948ce943d962073ea3caa7f6830c1d.zip
In checkGenerics and checkType, don't use Array.prototype.splice so much
Every time splice() is called, another temporary object is created.
This version, which uses plain objects as a sort of Hash Bag,
should only produce one temporary object each time it's called.
Diffstat (limited to 'src/test/ui/thinlto')
0 files changed, 0 insertions, 0 deletions