logo separator

[mkgmap-dev] [PATCH] make tdbfile (fully) the default and remove --tdb-v3

From Steve Ratcliffe steve at parabola.me.uk on Wed Dec 26 11:20:57 GMT 2012

Hi

> is this patch already committed?

No it isn't yet, and that patch doesn't make tdbfile a default
in a way that would affect its use with --index.

Still, you make a good point.

We shall have to think about how this should work. I don't really
like using tdbfile with index to mean create a "desktop" index anyway.

So either we should create the gmapsupp index if that option is given
and the desktop index otherwise or create both if the gmapsupp option
is given.

Its always possible to have --index=gps,... but I don't like that
much either.

> I remember, that --tdbfile also is necessary to build the normal index
> then you use --index and --gmapsupp. So with new behaviour both indexes
> would be generated when you set --index and --gmapsupp, which needs
> quiet much memory (see help-file, or is help-file wrong?) I always
> generated both indexes and had no problem, so I can't say if memory

It does use more on average, but peak memory usage may not be different, 
since the peak memory use only occurs during one
sorting operation.

So maybe it is not so much of a problem as I thought.

Certainly it would be possible to fix it so that it doesn't use
any more memory.

..Steve


More information about the mkgmap-dev mailing list