Re: cvs: php4 /ext/standard var.c
| From: | Stanislav Malyshev | Date: | Thu, 29 Jun 2000 14:58:45 +0000 |
| Subject: | Re: cvs: php4 /ext/standard var.c | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-552@lists.php.net to get a copy of this message | ||
AZ>> Why not use zend_str_tolower()?
Because this is faster. calling memcpy and then strtolower makes two
passes on the string, while this one makes one pass. It could be optimized
too, I believe (by using potinters instead of indexes), so if anybody
wants to, please do it.
--
Stanislav Malyshev stas@zend.com
+972-3-6139665