[Phpmyadmin-devel] Hardcoded array sizes in sqlparser.data.php

Marc Delisle marc at infomarc.info
Sun Jun 5 02:09:58 CEST 2011


Le 2011-06-04 11:33, Piotr Przybylski a écrit :
> Hi,
> 
> Is there any reason for hardcoding array sizes in sqlparser.data.php?
> count()'s complexity is O(1), it just reads item count from hash table
> which is used internally for storing arrays.
> 

Good idea to go back to using count().

-- 
Marc Delisle
http://infomarc.info




More information about the Developers mailing list