PHP large array performance -


i have large array in want compare each element previous element.

is practice (and better performance) if each element i'm finished i'll remove element using array_pop?

thanks.

if , dealing non associative array do

$n = count($array); for($i = 1; $i < $n; $i++){     //compare $array[$i] $array[$i - 1] } 

Popular posts from this blog

Php - Delimiter must not be alphanumeric or backslash -

c# - How to change the "Applies To" field under folder auditing options programatically (.NET) -

c++ - Ambiguity when using boost::assign::list_of to construct a std::vector -