The old code is much slower, in fact the equivalent PHP wrapper is faster then the C function. So the bug is a performance issue, we have a bug category for that, if you want I can open a bug report :).
Ilia On December 1, 2003 07:07 pm, Ard Biesheuvel wrote: > Ilia Alshanetsky wrote: > > iliaa Mon Dec 1 18:21:26 2003 EDT > > > > Modified files: (Branch: PHP_4_3) > > /php-src/ext/standard string.c > > Log: > > MFH: Optimize substr_replace > > Which bug does this fix ? > > -- > Ard -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php