Re: [PHP] Weird slowdown using complex functions in a loop

2003-03-12 Thread pgcd
t;[EMAIL PROTECTED]> To: "pgcd" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, March 12, 2003 2:16 PM Subject: Re: [PHP] Weird slowdown using complex functions in a loop > where are you storing the information that you are cleaning once it is > clean

Re: [PHP] Weird slowdown using complex functions in a loop

2003-03-12 Thread Jimmy Brake
where are you storing the information that you are cleaning once it is cleaned? are you appending it to a variable in the script? On Wed, 2003-03-12 at 00:26, pgcd wrote: > Hi, > I'm trying to write a script to do some basic XML validation - nothing > fancy, basically I just close open tags and c

[PHP] Weird slowdown using complex functions in a loop

2003-03-12 Thread pgcd
Hi, I'm trying to write a script to do some basic XML validation - nothing fancy, basically I just close open tags and check the arguments. The script runs fine, except that, when I use it in a loop (I need to validate roughly 200.000 posts), it gets progressively slower - like, the first ten calls