note 65163 deleted from function.array-key-exists by nlopess

From: Date: Tue, 25 Apr 2006 21:17:50 +0000
Subject: note 65163 deleted from function.array-key-exists by nlopess
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-109701@lists.php.net to get a copy of this message
Note Submitter: gabe at websaviour dot com ---- To alex, yes it is a million times slower. It's linear complexity instead of the logarithmic complexity offered by PHP's associative arrays. Of course it still works for small arrays, but if you need that function for a large array you should rethink your architecture.

« previous php.notes (#109701) next »