Re: Feature Request #5919 case-insensitive version of str_replace()
| From: | Sara Golemon | Date: | Thu, 30 Jan 2003 00:21:13 +0000 |
| Subject: | Re: Feature Request #5919 case-insensitive version of str_replace() | ||
| References: | 1 2 3 4 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-93787@lists.php.net to get a copy of this message | ||
better and better...
Ilia offered up an optimized version of php_str_to_str which skips string
resizing and handles do-no-work scenarios up front.
I've made necessary changes to make this case_optional and made a new patch:
http://169.229.139.97/test/str_ireplace.diff-4.txt
as well as posting what the resulting string.c looks like:
http://169.229.139.97/test/string-4.c
Yes the patch is getting larger, but the resulting codebase is shrinking...
-Pollita