Changes between Initial Version and Version 1 of Ticket #22835, comment 11


Ignore:
Timestamp:
2023-04-25T16:01:25+02:00 (3 years ago)
Author:
taylor.smock

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #22835, comment 11

    initial v1  
    22> JOSM only eats 3.5 MB memory? Even just from fresh start without loading any data, this sounds like awfully little. The presets alone should weigh some MB I would have expected. Not counting all the UI.
    33The ''loaded territories'' file takes ~3.5 MB of memory. I just looked at the objects that hold the data for the lookup table (`GeoPropertyIndex`).
     4
     5EDIT: I just took a look at the data directory of your library, and the sizes of the files are:
     6* [https://github.com/westnordost/countryboundaries/blob/master/data/boundaries180x90.ser boundaries180x90.ser]: 859 kb
     7* [https://github.com/westnordost/countryboundaries/blob/master/data/boundaries360x180.ser boundaries360x180.ser]: 1.74 mb (xz did compress this to 325 kb)
     8* [https://github.com/westnordost/countryboundaries/blob/master/data/boundaries60x30.ser boundaries60x30.ser]: 444 kb
     9
     10By comparison,
     11* [source:trunk/resources/data/boundaries.osm boundaries.osm]: 2 mb
     12* [source:trunk/resources/data/boundaries.osm boundaries.osm].xz: 185 kb
     13* [source:trunk/resources/data/boundaries.osm boundaries.osm].bz: 269 kb
     14* [source:trunk/resources/data/boundaries.osm boundaries.osm].gz: 347 kb
     15* [source:trunk/resources/data/boundaries.osm boundaries.osm].zip: 347 kb
     16
     17Besides parsing time, is there any particular advantage to your ser files?