aboutsummaryrefslogtreecommitdiffstats
path: root/src/ng
diff options
context:
space:
mode:
authorKarl Seamon2013-12-17 14:22:04 -0500
committerIgor Minar2013-12-17 11:43:57 -0800
commitcb29632a5802e930262919b3db64ca4806c5cfc7 (patch)
treeaada5b0eade603bd113b3c333192c64e3f829fe1 /src/ng
parent5c97731a22ed87d64712e673efea0e8a05eae65f (diff)
downloadangular.js-cb29632a5802e930262919b3db64ca4806c5cfc7.tar.bz2
perf: use faster check for $$ prefix
Use two calls to charAt instead of substr to detect a $$prefix in the shallowCopy functions. This makes shallowCopy 25-50% faster (depending on which browser is used). http://jsperf.com/angular-shallow-copy Closes #5457
Diffstat (limited to 'src/ng')
0 files changed, 0 insertions, 0 deletions