Re: Re: CRC - Mailing list pgsql-hackers

From Bruce Guenter
Subject Re: Re: CRC
Date
Msg-id 20001210153829.S9706@em.ca
Whole thread Raw
In response to Re: Re: CRC  (Alfred Perlstein <bright@wintelcom.net>)
List pgsql-hackers
On Sun, Dec 10, 2000 at 12:24:59PM -0800, Alfred Perlstein wrote:
> I would try unrolling the loop some (if possible) and retesting.

The inner loop was already unrolled, but was only processing single
bytes at a time.  By loading in 32-bit words at once, it reduced the
cost to only 7 cycles per byte (from 13).
--
Bruce Guenter <bruceg@em.ca>                       http://em.ca/~bruceg/

pgsql-hackers by date:

Previous
From: Bruce Guenter
Date:
Subject: Re: Re: CRC
Next
From: Peter Eisentraut
Date:
Subject: Re: Bug in index scans with Locale support enabled