Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
elpocko
on Sept 18, 2019
|
parent
|
context
|
favorite
| on:
The cost of parsing JSON
But you're not parsing the array 10000000 times in the first example. Use `eval`.
mg
on Sept 18, 2019
[–]
Not sure if eval is the right choice as the article compares parsing json to using a native js structure as well.
The correct comparison would be to try it on the 7MB json data the article is based on.
Consider applying for YC's Summer 2025 batch! Applications are open till May 13
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search: