Re: [PHP4BETA] Trouble with Oprimizer

From: Date: Sat, 01 Apr 2000 06:27:56 +0000
Subject: Re: [PHP4BETA] Trouble with Oprimizer
References: 1 2  Groups: php.version4 
Request: Send a blank email to php-version4+get-12973@lists.php.net to get a copy of this message
Chris Chabot wrote: > > My main question would be, how large is this script? ive found that in many > cases, loading & preparsing a large code base is the main bottleneck, and > not the script execution time. > As im sure uve read in the description of the optimizer, its a _multi > parse_ optimizer, so the script load time only increases. Ive got the same > problem here with a 140Kb script :) What would be awesome is a facility to convert php scripts to bytecode. It's an avoidable waste of resources to be parsing the same large scripts every time someone hits a page. Anyone have an idea know how hard it would be to add a bytecode generator/parser into the php frontend (it could even automatically check timestamps to make sure the bytecode is newer than the script)? Probably the better place to put the bytecode generator is in Zend engine (post-optimization), but the license seems to be unfavorable. Ciao, Andreas

« previous php.version4 (#12973) next »