Re: PHP to C translator

From: Date: Thu, 06 Jul 2000 19:47:04 +0000
Subject: Re: PHP to C translator
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-5271@lists.php.net to get a copy of this message
That sounds a bit too long to blast through a 350 MB file. Is there any possibility of optimizing your input routines? Doug Rouvas Stathis was heard at 04:09 PM 7/6/00 +0300 to say: >Well, the scripts do not iteract with a database. >They read a some text files from disk, do some calculations and output >some more text files to disk. >The calculation part is super-fast. >The output part is super-fast also. >BUT, the reading part from the text files is painfully slow.... >For a text file of 350MB, the script run from PHP3 takes about 1.5h. >For the same text file, the script run from PHP4 takes about 30m. (wow, >that *is* an improvement, 300%). >All files are local to the machine. >Judging from the HDD led activity (yes, not a very reliable indicator) I >think it can be done faster. >I haven't tried the Zend optimizer, yet. >I'm running on SuSE 6.4, AMD-K7/500, HDD-UDMA66, 256MB RAM. > >Any more ideas? > >Thank you fro your time, >-Stathis. >

« previous php.general (#5271) next »