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? -

c# - Attempting to upload to FTP: System.Net.WebException: System error -

ios - UISlider customization: how to properly add shadow to custom knob image -