On Dec 16, 2008, at 11:09 PM, Stephen Russell wrote:
> Sorry it has nothing to do with length, and everything to do with
> position in the index. When there is no space available it has to
> make space by separating the file, inserting new space and then filing
> in index data.
Two things are wrong with that. First, a longer key will fill up that
space faster, requiring more frequent file splits. Second, depending
on the type of index used, longer keys can either take up more memory
per key, limiting the number that can be kept in memory. Finally, many
string comparison routines' efficiency is linear with string length.
-- Ed Leafe
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message:
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.