Re: Associative arrays and case sensitivity
| From: | Tomas V.V.Cox | Date: | Wed, 12 Sep 2001 22:36:50 +0000 |
| Subject: | Re: Associative arrays and case sensitivity | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-1894@lists.php.net to get a copy of this message | ||
Chuck Hagenbuch wrote:
>
>
>(i.e., always lowercasing column names
> _does_ lose performance)
>
Just for curious I did some benchmarks about this topic. The task of
uppercasing column names over 10.000 rows, results in a loose of speed
from more than 100%.
9.302022 s. (without casing) against 20.920656 s. (uppercasing)
Seems that key renaming with PHP is a very expensive task.
Tomas V.V.Cox