LA.pm: Re: Prepend

Ask Bjoern Hansen ask at valueclick.com
Sat Oct 6 04:44:28 CDT 2001


On Fri, 5 Oct 2001, Arkadiy Sudarikov wrote:

> It's prepared once, cached, and executed twice. First time to get the count,
> second to format and output data.

That must be about three billion times more inefficient than just
doing count(*) the first time.

(Or saving to a temporary file and then creating the final file
after you have the count).


 - ask

-- 
ask bjoern hansen, http://ask.netcetera.dk/         !try; do();
more than a billion impressions per week, http://valueclick.com




More information about the Losangeles-pm mailing list