Re: [Config] Extremely slow

From: Date: Tue, 25 Nov 2003 18:26:59 +0000
Subject: Re: [Config] Extremely slow
References: 1 2  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-9137@lists.php.net to get a copy of this message
> Parsing XML is slow in PHP. Furthermore, the Config package is slow and > therefore should be used only to manipulate configuration files, not to read > them. If you want a fast solution you can try to wait for PHP 5 and its > SimpleXML parser or have your configuration file be converted by Config to a > PHP array and then access this array directly in PHP (a lot faster). Thx for the answer, but when I mean "slow" I mean "really" slow: Approximately 8 sec for 700 lines ox XML? Is that the way it should be?

« previous php.pear.general (#9137) next »