Hacker News new | past | comments | ask | show | jobs | submit login

Anyone know why bitwise AND is so slow in chrome V8 ???

http://jsperf.com/even-or-odd/2




In theory js doesn't have integers. In practice, it is dependent on the available optimizations in the browser. I saw no appreciable difference on firefox, for example.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: