Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
mistercow
on Oct 8, 2012
|
parent
|
context
|
favorite
| on:
Faster than C? Parsing binary data in JavaScript.
That might be an improvement, but you probably wouldn't want to use Array.map, which generally has pretty terrible performance. See
http://jsperf.com/map-vs-native-for-loop/5
rb12345
on Oct 8, 2012
[–]
Yes; the only reason for using Array.map() here is conciseness and similarity to the original code.
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: