Hi: I am not sure whether you have understood my point. If an array have more than 1024 buckets in an same bucket list(same index), there must already be an performance issue.
Sent from my iPhone 在 2012-1-10,0:41,Stefan Esser <ste...@nopiracy.de> 写道: > Hey, > >> That is Restricting a max length of a buckets list in a hash table. >> >> If a bucket's length exceed 1024, any insertion into this bucket >> will return failure and a warning will be generated. >> >> What do you think? > > very bad idea. Especially when it comes to numerical indices a legitimate > application might put data into a big array and have legitimate colliding > keys. > > Regards, > Stefan Esser -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php