[mkgmap-dev] [PATCH V3]mkgmap performance
From Steve Ratcliffe steve at parabola.me.uk on Mon Jan 2 11:12:01 GMT 2012
Hi > reg. "local information": I totally agree, but I found no better way, > and it saved a lot of time on my system. Personally I think that the way you have done it in the patch is much more natural than the existing way! It is also possible to make the Coord structure smaller, since only 24 bits of the latitude and longitude fields are used, so both of the byte values could be located in the un-used 16 bits. Also there are only three values of highwayCount that matter: 0, 1, and more-than-one, so only two bits are required for that. I originally did it that way, but because of a mistake I gave up and went back to a separate field. This would save a bit of memory, but it is only worth doing if it results in a significant improvement in performance. ..Steve
- Previous message: [mkgmap-dev] [PATCH V3]mkgmap performance
- Next message: [mkgmap-dev] [PATCH V3]mkgmap performance
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the mkgmap-dev mailing list