[mkgmap-dev] [Patch] Faster access on zip boundaries
From Gerd Petermann gpetermann_muenchen at hotmail.com on Sat Mar 10 07:32:43 GMT 2012
Hi WanMil, > Date: Fri, 9 Mar 2012 23:17:24 +0100 > From: wmgcnfg at web.de > To: mkgmap-dev at 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 -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20120310/c7400569/attachment.html
- Previous message: [mkgmap-dev] [Patch] Faster access on zip boundaries
- Next message: [mkgmap-dev] [Patch] Error in BoundaryUtil
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list