mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-16 23:05:42 +00:00
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 |
||
---|---|---|
.. | ||
locales | ||
modules | ||
modules-testing | ||
tests | ||
tps/extensions | ||
moz.build | ||
services-sync.js | ||
SyncComponents.manifest | ||
Weave.js |