[OSM-dev] Quadtile Info and Planet dump

Martijn van Oosterhout kleptog at gmail.com
Sat Sep 22 19:34:31 BST 2007


On 9/22/07, Dave Stubbs <osm.list at randomjunk.co.uk> wrote:
> I wonder which is faster:
>
> a) calculating the tile from a couple of doubles
>
> b) bunziping a text representation of an int, and parsing that
>
> I don't know the answer to that question, but it's probably not so clear cut.
> It would also make the planet bigger.

You're only talking about the client. What about:
a) Extra time in the sprintf in the planet dumper, on the server
b) Extra time to compress the result, on the server
c) Extra time storing said data on disk, on the server
d) Extra time transferring it over the network to your machine, from the server

When you add all these to your option b, the current setup doesn't
look so bad anymore... Especially since 99% of people will never use
it.

Have a nice day,
-- 
Martijn van Oosterhout <kleptog at gmail.com> http://svana.org/kleptog/




More information about the dev mailing list