logo separator

[mkgmap-dev] [Patch] Faster access on zip boundaries

From WanMil wmgcnfg at web.de on Fri Mar 9 22:17:24 GMT 2012

Hi Gerd,

sounds good. I've commited it.

Did you ever measure how long it takes to instantiate a ZipFile? Each 
time a bnd file is loaded the ZipFile is instantiated. If that takes too 
long it might be better to instantiate it once and then reuse it.

WanMil

> Hi WanMil,
>
> attached is a small patch that tries first to locate the wanted *.bnd file
> directly. Only if that fails, the whole directory is searched sequentially.
> When you provide precompiled boundaries in the new format, please make sure
> that the zip doesn't contain a directory structure.
>
> Gerd
>
> http://gis.19327.n5.nabble.com/file/n5551185/zipaccess.patch zipaccess.patch
>
> --
> View this message in context: http://gis.19327.n5.nabble.com/Patch-Faster-access-on-zip-boundaries-tp5551185p5551185.html
> Sent from the Mkgmap Development mailing list archive at Nabble.com.
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev




More information about the mkgmap-dev mailing list