- Original OSM data: 1.3gb
- Import data into QuadStore: 367mb
- QuadStore as binary: 97mb
- QuadStore as compressed binary: 48mb
I've also updated the map to cache data (it caches the compressed binary) into IsolatedStorage, though the default of 1mb is not enough for a mapping application, so it now requests the user to increase it to 10mb upfront. The nice thing about using the compressed binary is that we can cache twice us much as well!
To show the effect of all these optimizations I've changed the demo to show the whole of London (alá EastEnders) on the fly:
The main bottle neck I have now is the requirement to go via the Dispatcher for drawing UI elements, this causes the "one at a time" display of tiles. I think I can get round this, but I will have to investigate further (it may just be my own code causing this!)
Given that the code is drawing a very detailed map of the whole of London it's very fast, however for a production version I would create lower resolution tiles first and replace them with higher resolutions in the background.