Skip to content

Commit 70337ac

Browse files
committed
[ci skip] Add comment
1 parent 61715f1 commit 70337ac

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/mixins/property-effects.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,7 @@ function ensureOwnEffectMap(model, type, cloneArrays) {
9696
if (cloneArrays) {
9797
for (let p in effects) {
9898
let protoFx = effects[p];
99+
// Perf optimization over Array.slice
99100
let instFx = effects[p] = Array(protoFx.length);
100101
for (let i=0; i<protoFx.length; i++) {
101102
instFx[i] = protoFx[i];

0 commit comments

Comments
 (0)