Le 26 juin 09 à 14:47, Jeremy Kerr a écrit :
> For the new function to be faster, we need to know that there are more
> than 6 (on average, depending on alignment) trailing spaces.
It's becoming somewhat tricky, but maybe the test to do for the
optimisation to get used is n >= threshold && str[n-6] == 0x20, àla
I call it tricky because you could have a space here which isn't
followed by spaces, but still, if it's not a space here, you're saying
we should not even try the optimisation.
In response to
pgsql-hackers by date
|Next:||From: tomas||Date: 2009-06-26 15:29:06|
|Subject: Re: [PATCH] backend: compare word-at-a-time in bcTruelen|
|Previous:||From: Tom Lane||Date: 2009-06-26 14:23:41|
|Subject: Re: gettext version problem exposed by buildfarm failures on "canary" |