diff options
| author | Michael Howell <michael@notriddle.com> | 2021-03-12 23:23:42 -0700 |
|---|---|---|
| committer | Michael Howell <michael@notriddle.com> | 2021-03-13 00:02:56 -0700 |
| commit | d7971e587c948ce943d962073ea3caa7f6830c1d (patch) | |
| tree | ffa97aa9cefd2204d949b998bc7f1d7e7177f937 /src/test/ui/thinlto | |
| parent | 5fe3b8703482a132c628c102f3c188657668080e (diff) | |
| download | rust-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
