| From: | "Steinar H(dot) Gunderson" <sgunderson(at)bigfoot(dot)com> |
|---|---|
| To: | pgsql-performance(at)postgresql(dot)org |
| Subject: | Re: [GENERAL] Creation of tsearch2 index is very slow |
| Date: | 2006-01-20 22:49:15 |
| Message-ID: | 20060120224915.GA26821@uio.no |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-general 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/
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2006-01-20 22:50:36 | Re: [GENERAL] Creation of tsearch2 index is very slow |
| Previous Message | Ron | 2006-01-20 22:46:34 | Re: [GENERAL] Creation of tsearch2 index is very slow |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Tom Lane | 2006-01-20 22:50:36 | Re: [GENERAL] Creation of tsearch2 index is very slow |
| Previous Message | Ron | 2006-01-20 22:46:34 | Re: [GENERAL] Creation of tsearch2 index is very slow |