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

How to calculate SNR of signals in MATLAB? -

Php - Delimiter must not be alphanumeric or backslash -

Delphi interface implements -