Skip to content
Browse files

Merge pull request #789 from alexspeller/remove-unnecessary-indexof

Increase loadMany performance by 10% by removing dead code
  • Loading branch information...
2 parents 02302ab + d9cb019 commit ea933ebb5469a016ea6907dd22d1c684db935f67 @tomdale tomdale committed Mar 7, 2013
Showing with 0 additions and 1 deletion.
  1. +0 −1 packages/ember-data/lib/system/store.js
View
1 packages/ember-data/lib/system/store.js
@@ -1402,7 +1402,6 @@ DS.Store = Ember.Object.extend(DS._Mappable, {
}
var content = get(array, 'content');
- var alreadyInArray = content.indexOf(clientId) !== -1;
var recordArrays = this.recordArraysForClientId(clientId);
var reference = this.referenceForClientId(clientId);

0 comments on commit ea933eb

Please sign in to comment.
Something went wrong with that request. Please try again.