Re: [GENERAL] Creation of tsearch2 index is very slow - Mailing list pgsql-performance

From Steinar H. Gunderson
Subject Re: [GENERAL] Creation of tsearch2 index is very slow
Date
Msg-id 20060120224915.GA26821@uio.no
Whole thread Raw
In response to Re: [GENERAL] Creation of tsearch2 index is very slow  (Ron <rjpeace@earthlink.net>)
List pgsql-performance
On Fri, Jan 20, 2006 at 05:46:34PM -0500, Ron wrote:
> For an even more extreme speedup, don't most modern CPUs have an asm
> instruction that counts the bits (un)set (AKA "population counting")
> in various size entities (4b, 8b, 16b, 32b, 64b, and 128b for 64b
> CPUs with SWAR instructions)?

None in the x86 series that I'm aware of, at least.

You have instructions for finding the highest set bit, though.

/* Steinar */
--
Homepage: http://www.sesse.net/

pgsql-performance by date:

Previous
From: Ron
Date:
Subject: Re: [GENERAL] Creation of tsearch2 index is very slow
Next
From: Tom Lane
Date:
Subject: Re: [GENERAL] Creation of tsearch2 index is very slow