On Thursday 01 May 2003 1:24 am, you wrote:
> > BTW Unescaping a 200Kb JPEG stored in a PostgreSQL bytea field took 1.5
> > mins before and 0.09 seconds afterwards on a 2Ghz machine!
>
> Wow, I wouldn't have imagined that (some platforms') scanf suck so much.
> Doesn't look like libpq's bytea unquoting function was used very much in
> real life, does it?
I guess not many people use sscanf for parsing large (> 1Kb) amounts of data.
The function was only introduced in 7.3 so I doubt many people have noticed
it yet.
I'm using Debian stable on Intel, glibc 2.2.5 with gcc-3.2.2.
Ben.
|