On Tue, Jul 15, 2008 at 12:30 PM, tedd <tedd.sperling@xxxxxxxxx> wrote: > At 10:15 AM -0400 7/15/08, Andrew Ballard wrote: >> >> On TueWell, OK, I can think of one optimization. This takes advantage of >> the >> fact that preg_replace can accept arrays as parameters. In a couple >> very quick tests this version is roughly 30% faster than my previous >> version: > > -snip- > > Hey, when you finally get finished with that function, please let me know I > would like to copy it. :-) > > Cheers, > > tedd All yours. I figure I'm done with it. (At least until I actually need to use it for something and then I have to test it for real. :-) ) Andrew -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php