Re: [PHP] regular expressions: HUGE speed differences

2002-04-06 Thread heinisch
PIII 400MHz, 512Mb, SuSe 6.4, 2.2.14 smp, php 3.0.16, Completed in 0.76187908649445 seconds PIII 350MHz, 256Mb, Suse 7.3, 2.4.9, php 4.0.6, Completed in 2.6342689990997 seconds File Size:28537kb, But for "real tests", send the original file you use direct BTW How the hell did you develop this

[PHP] regular expressions: HUGE speed differences

2002-04-06 Thread Ando
Im using a regular expression, to get all urls from a file. When using it on the webserver, it processes a 25kb html file about 0.25 seconds (PIII 350, 128mb ram, linux 2.2.13-7mdk, php 3.0.12). When i try the same on my machine (Celeron 300A, 192mb ram.), it does it about 14-17 seconds, which is