
10 Mar
2012
10 Mar
'12
7:32 a.m.
Hi WanMil,
Date: Fri, 9 Mar 2012 23:17:24 +0100 From: wmgcnfg@web.de To: mkgmap-dev@lists.mkgmap.org.uk Subject: Re: [mkgmap-dev] [Patch] Faster access on zip boundaries
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.
I did not measure it, but it seems to be very fast, because in I don't see it in the profiling tools that I use. Afaik it is memory mapped, so maybe the very first access is much slower. Gerd