Re: [PHP4BETA] ZTS mode sooo much slower? (see attachment)
| From: | Thies C. Arntzen | Date: | Wed, 08 Sep 1999 14:20:46 +0000 |
| Subject: | Re: [PHP4BETA] ZTS mode sooo much slower? (see attachment) | ||
| References: | 1 | Groups: | php.version4 |
| Request: | Send a blank email to php-version4+get-4247@lists.php.net to get a copy of this message | ||
On Wed, 8 Sep 1999, Rasmus Lerdorf wrote:
> > <?
> > echo "hello world\n";
> > ?>
> >
> > quantify tells me that the C++ lexer calls yy_get_previous_state 28 times
> > whereby the c-version only calls it once.
>
> Aha. I count exactly 28 bytes in that script. 25 chars and 3 carriage
rasmus,
it's not exactly the number of bytes in the file, but it's very near
(maybe empty lines don't count)...
i've reproduced the same behaviour with the flex++ sample from the flex
man-page.
maybe we should ask the flex-guys what to do - as i have no idea how flex
works i would perfer if you could ask them.
regards,
tc
> returns. I think this is another clue that the buffer size is set to 1
> effectively causing us to do unbuffered reads. Except you said that we
> weren't seeing more system calls, so perhaps it is just an internal buffer
> setting that is 1 for some odd reason.
>
> -Rasmus
>
>
> --
> PHP 4 Beta
>
>
Thies C. Arntzen "One Big-Mac, Small Fries and a Coke!"
Digital Collections Phone +49 40 235350 Fax +49 40 23535180
Hammerbrookstr. 93 20097 Hamburg / Germany