aboutsummaryrefslogtreecommitdiffstats
path: root/test/ng/animationSpec.js
diff options
context:
space:
mode:
authorRobin Böhm2013-04-28 20:05:44 +0200
committerPete Bacon Darwin2013-04-29 10:19:07 +0100
commitcb62a57d438f94dff32218ba095a6a63b1db958f (patch)
tree89f571f5220c8413996c3f512e7f2235e8dedb44 /test/ng/animationSpec.js
parent61c0adedc3fb936e268588d8cfc77df0962453c7 (diff)
downloadangular.js-cb62a57d438f94dff32218ba095a6a63b1db958f.tar.bz2
refact(ngClass): improve performance through bitwise operations
Change modulo % 2 operations to bitwise & 1 Read about this in Nicholas C. Zakas book "High Performance JavaScript"(ISBN: 978-0-596-80279-0) Use the Fast Parts --> Bitwise Operators --> Page 156++ Proven at http://jsperf.com/modulo-vs-bitwise/11
Diffstat (limited to 'test/ng/animationSpec.js')
0 files changed, 0 insertions, 0 deletions