Re: [qdbm-users] random access
Brought to you by:
mikio
From: Sven H. <Sve...@Fe...> - 2008-11-27 09:17:43
|
Hi Derek. Wed, 26 Nov 2008 12:06:45 -0500, derek wrote: > I was wondering if there is any feasible way to provide random access to > data within a B+ Tree Villa database? Yes. > Now, say I need to be able to quickly retrieve the middle 100 words > (words 50,000 to 50,099). Is there a way to do this quickly, without > starting at the beginning of the list, and counting along until I get to > 50,000? Please have a look at the functions named vlcur... For example, vlcurjump plus an iteration of vlcurval and vlcurnext should be a possibility. BTW. Have you considered switching to tokyocabinet? Sven |