logo separator

[mkgmap-dev] Possible optimization of StyledConverter

From Gerd Petermann gpetermann_muenchen at hotmail.com on Thu Jan 12 21:10:29 GMT 2012


I don't see how this would improve performance. Maybe I am using the wrong parms and don't hit the code, but in my profiling data I only see  the IdentityHashMap in addRoadWithoutLoops() and the rules.resolveType(..) calls.

Do you have a case where this addtag/gettag technique might slow down the program?


> Date: Sun, 8 Jan 2012 21:49:14 +0000
> From: steve at parabola.me.uk
> To: mkgmap-dev at lists.mkgmap.org.uk
> Subject: Re: [mkgmap-dev] Possible optimization of StyledConverter
> Hi
> > hmm, do you think about storing the information in e.g. a bitmask rather
> > than in tags?
> Yes, if I had done that part, I would have tried to go directly from
> osm tags to properties on the Element, rather than the two stage
> process of osm tag to mkgmap:* tag.
> ..Steve
> _______________________________________________
> mkgmap-dev mailing list
> mkgmap-dev at lists.mkgmap.org.uk
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20120112/015619a9/attachment.html 

More information about the mkgmap-dev mailing list