mirror of
https://github.com/FoggedLens/iD.git
synced 2026-05-15 05:30:35 +02:00
Improve performance somewhat in some scenarios (re: #7656)
This commit is contained in:
@@ -57,8 +57,8 @@ export function coreDifference(base, head) {
|
||||
}
|
||||
}
|
||||
|
||||
Object.keys(head.entities).forEach(checkEntityID);
|
||||
Object.keys(base.entities).forEach(checkEntityID);
|
||||
for (var id in head.entities) checkEntityID(id);
|
||||
for (var id in base.entities) checkEntityID(id);
|
||||
|
||||
|
||||
_diff.length = function length() {
|
||||
|
||||
Reference in New Issue
Block a user