Comment by beached_whale
5 years ago
You cannot compare them. Decoding JSON is compressing it essentially, and in order to compare you would need to look at the resulting data structures and how long it takes. strings are comparable, but an integer is bigger exp2( log10( digit_count ) ) I think.
But yeah, I had the same first thought too.
No comments yet
Contribute on Hacker News ↗