[Metakit] Find fails in hashed view but works in plain view or ordered view.

Brian Kelley fustigator at gmail.com
Mon Oct 31 13:56:22 CET 2005


Hashes can be tricky things.  Are you sure that you have added all of
your items to the hashed version and not the underlying view?  If you
create a hash on a view, it must be done before anything is added I
think.

Ordered views have some nicer properties than hash views and I use
them frequently, a hashed view will start crapping out at around
200,000 rows, a blocked and ordered view can be useful with more than
a million entries.

When using ordered views, if you have negative keys, I have found that
view.locate works better than view.find.

Brian


More information about the Metakit mailing list