logoalt Hacker News

trgnyesterday at 1:29 PM1 replyview on HN

nice and simple, great. but because it's json, most parsers are horribly inefficient, which is tough, because a lot of geodata is massive.


Replies

jeffbeeyesterday at 2:36 PM

JSON parsing is probably one of the most thoroughly optimized subsystems in the whole industry at this point. Obviously there are ways to encode the same data that are easier to parse (e.g. instead of absolute floating point coordinates, use integer deltas along a path in some reasonable CRS) but because this inefficient representation is so common and so long-standing the parsing is faster than people think.

show 1 reply