Hacker News new | ask | show | jobs
by Zenzero 775 days ago
If you're that focused on optimization you wouldn't be traversing JSON.

As an aside the js example above could be simplified to a reduce().