logo separator

[mkgmap-dev] [PATCH V3]mkgmap performance

From Steve Ratcliffe steve at parabola.me.uk on Wed Dec 28 21:50:48 GMT 2011

Hi Gerd

> your fix helps when I use max-jobs=1, only a few bytes are different then,
> but I still get random output with max-jobs>  1. Is this expected?

No its not expected. In fact it appears to happen even for max-jobs=1 
when you compile the same file twice on the same run. I will try to 
track that down too.

> Regarding those different bytes for max-jobs=1: You said they are
> time-stamps. Would it be possible to write a constant value (from a
> parameter) to these bytes for debugging purposes?

If you look in ImgHeader.createHeader() and CommonHeader.writeHeader()
there are calls to write the timestamp, you can replace the date with
a constant eg new Date(1325107646).

..Steve



More information about the mkgmap-dev mailing list