зеркало из https://github.com/mozilla/gecko-dev.git
7d0f361ba0
Sync's Utils.arrayUnion and Utils.arraySub are O(n^2) because Utils.arraySub uses indexOf inside a loop. This patch makes Utils.arraySub use a Set, and by doing so, Utils.arrayUnion and Utils.arraySub become O(n). MozReview-Commit-ID: DDqjRWalfP9 --HG-- extra : rebase_source : ec90092244e16d3651f0d69ea8db1944301c13fb |
||
---|---|---|
.. | ||
blocklists | ||
common | ||
crypto | ||
fxaccounts | ||
sync | ||
.eslintrc.js | ||
moz.build |