
WanMil wrote
Maybe it was not very clear what I meant. The performance degration might not be introduced by changing the clockwise method but by always creating a new list when instantiating a new Way object, e.g. the Java2DConverter creates list of points that are often directly forwarded to a new Way object. This list of points is now created twice (once by the Java2DConverter and once by the Way object). This is often used in the multipolygon code and maybe somewhere else.
Yes, that was understood. The multipolygon code uses the awt.geo.area methods, and these are copying the points very often. That's why I don't think that one additional copy matters. Gerd -- View this message in context: http://gis.19327.n5.nabble.com/Short-Arc-Problem-Error-3-Mapsource-Problem-o... Sent from the Mkgmap Development mailing list archive at Nabble.com.