[mkgmap-dev] Polyline base optimisation
From Ticker Berkin rwb-mkgmap at jagit.co.uk on Thu Apr 8 12:58:21 BST 2021
Hi Gerd If starting with unsigned deltas in polyline encoding, and attempting to reduce the length by testing reduced x/yBase values, there isn't any point in testing Base-1, as the normal number of bits will be the same (added sign bit) and there will be some overflows. Patch attached to change this - it gives me a very slight reduction in RGN size and might give a performance improvement (I didn't detect any). I've also fixed a couple of log. logic errors and changed minDx/y initial to 0, which is much less confusing because they are symmetric with maxDx/y which do use 0. Ticker -------------- next part -------------- A non-text attachment was scrubbed... Name: LinePrepOpt.patch Type: text/x-patch Size: 2742 bytes Desc: not available URL: <http://www.mkgmap.org.uk/pipermail/mkgmap-dev/attachments/20210408/ad40d55f/attachment.bin>
- Previous message: [mkgmap-dev] diagnostic patch
- Next message: [mkgmap-dev] Polyline base optimisation
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list