scalac_perf icon indicating copy to clipboard operation
scalac_perf copied to clipboard

Vector.equals uses iterators. Could be optimised

Open mkeskells opened this issue 6 years ago • 0 comments

If a Vector is compared to another Vector (or some other collection that efficiently implements length and apply) then we should prefer that mechanism, with a default/fallback to the existing iterator mechanism

This issue was inspired by an observed issue in a production application

We should include a benchmark in any fix

mkeskells avatar Jun 21 '18 06:06 mkeskells