[OSM-dev] Binary OSM; the first pass encoder

Chris Browet cbro at semperpax.com
Sun Nov 9 17:07:05 GMT 2008


2008/11/9 Marcus Wolschon <Marcus at wolschon.biz>

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Chris Browet schrieb:
> >
> >
> >     - Use separate files for strings and indices.
> >
> >
> > Problem with this is that you will have one huge string file (if
> > that's what you mean), which will have to be loaded in memory
>
> How is that?
> You can memory-map and index it like any other file.
>

Right you are.
If I understand the concept, that would mean that once a string appear in
the "master string" file(s), it's indice cannot ever change (otherwise, all
the references will have to be changed, too). Do I understand correctly?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/dev/attachments/20081109/f4a20d4b/attachment.html>


More information about the dev mailing list