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
K
Karl Seamon committed
cb29632a5802e930262919b3db64ca4806c5cfc7
Parent: 5c97731
Committed by Igor Minar <igor@angularjs.org>
on 12/17/2013, 7:43:57 PM