Skip to content

Commit

Permalink
[ci skip] Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinpschaaf committed Apr 13, 2019
1 parent 61715f1 commit 70337ac
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/mixins/property-effects.js
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ function ensureOwnEffectMap(model, type, cloneArrays) {
if (cloneArrays) {
for (let p in effects) {
let protoFx = effects[p];
// Perf optimization over Array.slice
let instFx = effects[p] = Array(protoFx.length);
for (let i=0; i<protoFx.length; i++) {
instFx[i] = protoFx[i];
Expand Down

0 comments on commit 70337ac

Please sign in to comment.