diff options
author | Karl Seamon | 2013-12-05 18:56:52 -0500 |
---|---|---|
committer | Igor Minar | 2013-12-13 00:24:37 -0800 |
commit | fcd2a8131a3cb3e59a616bf31e61510b5c3a97d3 (patch) | |
tree | 1ddca3fefa57b212ee5bdcd39146ecdb835983eb /src/ng | |
parent | 62dbe85798c19246fb2fb121bb4278248e564486 (diff) | |
download | angular.js-fcd2a8131a3cb3e59a616bf31e61510b5c3a97d3.tar.bz2 |
perf($resource): use shallow copy instead of angular.copy
Replace calls to angular.copy with calls to a new function, shallowClearAndCopy.
Add calls to copy for cache access in $http in order to prevent modification of cached data.
Results in a measurable improvement to the startup time of complex apps within Google.
Closes #5300
Diffstat (limited to 'src/ng')
0 files changed, 0 insertions, 0 deletions