Steve,

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?

Gerd

> Date: Sun, 8 Jan 2012 21:49:14 +0000
> From: [email protected]
> To: [email protected]
> 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
> [email protected]
> http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
                                          
_______________________________________________
mkgmap-dev mailing list
[email protected]
http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev

Reply via email to