On 20/10/11 21:36, WanMil wrote: > I can confirm that behaviour. Although in real mkgmap does not freeze > (endless loop) but is working very very hard. Possibly the mkgmap code > is not very optimal for the special test case. > > @Steve, the code requires a very long time in the > NETFile.simplifySortedRoads method because I think there are many roads > with the same name. I think I remember a similar discussion some time > ago? The method seems to perform a brute force method to detect > connected roads with the same name. Can you have a look on it?
Yes that routine is a disaster when there are many roads with the same name. I'm not sure what it is supposed to do and how important it is. I'll have a go at fixing it. ..Steve _______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk http://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev