[OSM-dev] mmap()

Marcus Wolschon Marcus at wolschon.biz
Thu Dec 4 19:57:10 GMT 2008


2008/12/4 Stefan de Konink <stefan at konink.de>:
> Marcus Wolschon wrote:
>> It would be too expensive to keep any kind of order
>> when modifying a file containing the world or the
>> size the world-file will have in..say..5 years.
>
> ;) I think we fully understand eachother. But I wonder wonder what you
> do at a delete. Just move the last record to the gap?

No. On delete I mark the record as free for reuse.
I can move records to shrink a file that has grown
too large but in general I anticipate that a file will much
more likely grow then shrink.

Marcus




More information about the dev mailing list