
Hi Ticker, that's clear. I just don't see in what situation this can happen. Gerd ________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Ticker Berkin <rwb-mkgmap@jagit.co.uk> Gesendet: Donnerstag, 17. Juni 2021 11:53 An: Development list for mkgmap Betreff: Re: [mkgmap-dev] Remove-obsolete on line with matching ends Hi Gerd For a b c c b a, lenDup is 3, then, without my patch, it does subList(0, size()+1-lenDup), ie subList(0, 4), so resulting in a b c c Ticker On Thu, 2021-06-17 at 05:33 +0000, Gerd Petermann wrote:
Hi Ticker,
do you have an example where this patch changes something? I think it would mean that the previous loop doesn't work.
Gerd
________________________________________ Von: mkgmap-dev <mkgmap-dev-bounces@lists.mkgmap.org.uk> im Auftrag von Ticker Berkin <rwb-mkgmap@jagit.co.uk> Gesendet: Mittwoch, 16. Juni 2021 12:41 An: mkgmap development Betreff: [mkgmap-dev] Remove-obsolete on line with matching ends
Hi Gerd
Here is a slight enhancement to low-res-opt RemoveObsolete. It is possible that this case (a b c c b a) will never happen because "c" will probably be de-duped.
Ticker
_______________________________________________ mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev
mkgmap-dev mailing list mkgmap-dev@lists.mkgmap.org.uk https://www.mkgmap.org.uk/mailman/listinfo/mkgmap-dev