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


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

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #22835, comment 11

    v1 v2  
    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 
    5 EDIT: 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 
    10 By 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 
    17 Besides parsing time, is there any particular advantage to your ser files?