diff options
| author | Karl Seamon | 2013-12-05 18:08:52 -0500 |
|---|---|---|
| committer | Igor Minar | 2013-12-18 15:44:15 -0800 |
| commit | 864b2596b246470cca9d4e223eaed720f4462319 (patch) | |
| tree | 1b86f335f5afc3b21217fa3d8ab327718112db2e /closure | |
| parent | f3a796e522afdbd3b640d14426edb2fbfab463c5 (diff) | |
| download | angular.js-864b2596b246470cca9d4e223eaed720f4462319.tar.bz2 | |
perf($parse) use a faster path when the number of path parts is low
Use a faster path when the number of path tokens is low (ie the common case).
This results in a better than 19x improvement in the time spent in $parse and
produces output that is about the same speed in chrome and substantially faster
in firefox.
http://jsperf.com/angularjs-parse-getter/6
Closes #5359
Diffstat (limited to 'closure')
0 files changed, 0 insertions, 0 deletions
