Hello WanMil,

please wait, I am going to send another patch today. I think we have to check also the ids of ways when searching the maximum id.
Also, I think it is better to merge the two classes SparseLong2ShortMapInline and SparseLong2ShortMapFix and always use the method to store the chunk mask togetther with the chunk data.
I also found a few more simple performance tweaks.

Ciao,
Gerd

> I didn't yet review the patch but I have commited (r184) it so it's
> available at http://www.mkgmap.org.uk/splitter/
>
> I am looking forward that your patches will improve splitter for several
> use cases.
>
> WanMil
>