4 ms·
I ran these tests on my own and tried out what's been discussed here. The internal count() adds the most bulk. (Note: "real sorting" just means the array is red
by kr0 13y ago
I ran these tests on my own and tried out what's been discussed here. The internal count() adds the most bulk. (Note: "real sorting" just means the array is redeclared for every nth sort).
Original
Array ( [0]...) 28.913233995438
Original - with real sorting
Array ( [0]...) 29.863515853882
HN Way - with external count()
Array ( [0]... ) 4.3388159275055
HN Way - with external count() and real sorting
Array ( [0]...) 5.5680060386658