Skip to main content.
home | support | download

Back to List Archive

Re: A swish-e performance question

From: <moseley(at)not-real.hank.org>
Date: Tue Oct 14 2003 - 18:24:43 GMT
On Tue, Oct 14, 2003 at 11:10:45AM -0700, Hup Chen wrote:
>   That's very kind of you if you can do it.  I wrote a script to convert
> almost all int to long (include expat), no problem in compilation(with
> LFS support), but still can't fix it.

I would think it's more involved -- the index is compressed and packed 
to be endian-netural (but not word size netural).

> > Another option is having several index files. Each one with less of
> > 2GB and search all of them at once.
> 
>   I have performance issue by using several index files.  The performance
> dropped up to 40-50% in my last test.

Yes, you are basically doing two searches plus the overhead of doing a 
merge sort of the two result sets which is not needed when searching a 
single index.

-- 
Bill Moseley
moseley@hank.org
Received on Tue Oct 14 18:24:53 2003