3 ms·
But you're not parsing the array 10000000 times in the first example. Use `eval`.
by elpocko 7y ago
But you're not parsing the array 10000000 times in the first example. Use `eval`.
- no_gravity 7y agoNot 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.