Re: [PATCHES] PQunescapeBytea tweak

2003-10-31 Thread Adam Kavan
At 09:57 PM 10/30/03 -0500, Tom Lane wrote: What compiler and optimization settings are you using, and what is the hardware platform? It seems strange to me that you would get any noticeable speedup from this change. Most C compilers are supposed to be reasonably smart about optimizing subscripte

Re: [PATCHES] PQunescapeBytea tweak

2003-10-30 Thread Tom Lane
Adam Kavan <[EMAIL PROTECTED]> writes: > This patch converts PQunescapeBytea from using arrays to the text string > and to the output binary string to using pointers. This makes it much > faster than the older version for large Bytea's. What compiler and optimization settings are you using, and

Re: [PATCHES] PQunescapeBytea tweak

2003-10-30 Thread Bruce Momjian
Is this against 7.3.X or 7.4beta? Also, we prefer diff -c. --- Adam Kavan wrote: > This patch converts PQunescapeBytea from using arrays to the text string > and to the output binary string to using pointers. This makes i

[PATCHES] PQunescapeBytea tweak

2003-10-30 Thread Adam Kavan
This patch converts PQunescapeBytea from using arrays to the text string and to the output binary string to using pointers. This makes it much faster than the older version for large Bytea's. --- Adam Kavan --- [EMAIL PROTECTED] fe-exec.patch Description: Binary data -