Re: [PATCH] backend: compare word-at-a-time in bcTruelen - Mailing list pgsql-hackers

From Chuck McDevitt
Subject Re: [PATCH] backend: compare word-at-a-time in bcTruelen
Date
Msg-id 2106D8DC89010842BABA5CD03FEA4061CA7CFA16@EXVMBX018-10.exch018.msoutlookonline.net
Whole thread Raw
In response to Re: [PATCH] backend: compare word-at-a-time in bcTruelen  (Stephen Frost <sfrost@snowman.net>)
List pgsql-hackers
> -----Original Message-----
> From: pgsql-hackers-owner@postgresql.org [mailto:pgsql-hackers-
> owner@postgresql.org] On Behalf Of Stephen Frost
> Sent: Tuesday, June 16, 2009 5:47 AM
> To: Greg Stark
> Cc: Robert Haas; Jeremy Kerr; <pgsql-hackers@postgresql.org>; Alvaro
> Herrera; Stefan Kaltenbrunner; Gurjeet Singh
> Subject: Re: [HACKERS] [PATCH] backend: compare word-at-a-time in
> bcTruelen
>

On 64-bit machines, the native word size is 64-bits (obviously), and comparing 32 bits at a time is much slower than
comparing64 bits at a time. 

You might want to consider this.


pgsql-hackers by date:

Previous
From: Robert Haas
Date:
Subject: Re: machine-readable explain output
Next
From: Tom Lane
Date:
Subject: Re: machine-readable explain output