[Xapian-discuss] xapian performance

Olly Betts olly at survex.com
Mon Nov 20 00:07:44 GMT 2006


On Sun, Nov 19, 2006 at 11:48:30PM +0000, Olly Betts wrote:
> On Sat, Nov 18, 2006 at 02:25:47PM +0100, Arjen van der Meijden wrote:
> > You seem to have broken something.
> 
> Hmm, yes.  My new code picks different lengths to the old code for some
> cases, but since the new code is consistent with itself it passed "make
> check" (I think the new lengths are too generous in some cases, which
> just wastes the odd bit here and there).  Anyway, I'll sort it out.

Yes, it was an off-by-one error, so powers of two would get one bit more
than actually needed.  This patch (applied on top of the previous one)
should fix that:

http://www.oligarchy.co.uk/xapian/patches/flint_fls_optimisation_bugfix.patch

Cheers,
    Olly



More information about the Xapian-discuss mailing list