Re: [PHP4BETA] ZTS mode sooo much slower? (see attachment)

From: Date: Thu, 01 Jan 1970 00:00:00 +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-4248@lists.php.net to get a copy of this message
> > > <? > > > 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 > > it's not exactly the number of bytes in the file, but it's very near > (maybe empty lines don't count)... Well, a quick check would be to make the script twice as long and see if the calls to yy_get_previous_state doubles. > 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. I can, but Zeev and Andi probably have the best grasp on the latest flex stuff. I know the bison code pretty well having hunted all through it trying to debug some stuff once, but I am not that familiar with the flex code. -Rasmus

« previous php.version4 (#4248) next »