> Could we abandon MetaKit completely please?
> The 2.4.2-32 version which is supplied by SimGear doesn't compiler 
> properly. I vote for using David's plain text sulution (at least for now).

I don't recall David's solution.

It seems to me that we're only using MK for doing simple record lookups in 
basic tables (no joins) with a match on one string or a number range.
With that being the case, why can't we use a simple text format store ?

As far as doing quick searches, I'd rather have the indexes compiled into
the table as character offsets that define a balanced binary tree.
It's easy to generate, and to ignore when doing non-indexed searches.
The default file is only 50k records, requiring 16 record fetches for
an arbitrary search.  I would expect those blocks to reside in cache.
People with lots of memory are welcome to use 4MB to store the data.

Of course, a side effect would be that someone would have to rewrite
a lot of code in the src/Airports directory to use the other library.
Since that wouldn't be me, I don't see that as a significant problem 8-).

_______________________________________________
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel

Reply via email to