> In the following example, which is the one that I'm concerned about,
> the same function is called multiple times in a row (with nothing
> happening in between calls) for different "categories". Basically, the
> function sorts an array and outputs the 10 elements with the highest
> value.
>
> I ran the test several times, calling the function hundreds of times
> with the same data, and each time I ran the test every second call took
> thousands of times longer than the ones that ran ok.

Well, as it really alternates between fast and slow, there has to be some 
"real" reason for it. Can you post some code?

-- 
Christian Reiniger
LGDC Webmaster (http://sunsite.dk/lgdc/)

/* you are not expected to understand this */

- from the UNIX V6 kernel source

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to