[EMAIL PROTECTED] (Marcus Börger) wrote:
> Why not use spprintf before you make it even more complex?
> Something like this:
> 
> if(!strstr(lower_temp,"realm")) {
>          efree(result);
>          spprintf(&result, 0, "%s realm=\"%ld\"",ptr, myuid);
> }

Because spprintf is just considerably s..l..o..w...

I always prefer to avoid using that function as long as I can reasonably
estimate the length of result in advance.

Moriyoshi


-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to