note 101512 added to function.array-diff

From: Date: Tue, 21 Dec 2010 19:21:09 +0000
Subject: note 101512 added to function.array-diff
Groups: php.notes 
Request: Send a blank email to php-notes+get-175119@lists.php.net to get a copy of this message
Hi, I´d like to give a piece of advice to all who need to use this function to compare two arrays that have a great quantity of elements. You should sort both arrays first before comparing, it will work faster. Thanks ---- Server IP: 201.216.232.3 Probable Submitter: 200.80.56.187 ---- Manual Page -- http://www.php.net/manual/en/function.array-diff.php Edit -- https://master.php.net/note/edit/101512 Del: integrated -- https://master.php.net/note/delete/101512/integrated Del: useless -- https://master.php.net/note/delete/101512/useless Del: bad code -- https://master.php.net/note/delete/101512/bad+code Del: spam -- https://master.php.net/note/delete/101512/spam Del: non-english -- https://master.php.net/note/delete/101512/non-english Del: in docs -- https://master.php.net/note/delete/101512/in+docs Del: other reasons-- https://master.php.net/note/delete/101512 Reject -- https://master.php.net/note/reject/101512 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#175119) next »