in reply to Best way to sum an array?
Hello Anonymous Monk
I assume you want to measure based on speed, then your friend is Benchmark.
But there are also alternatives ways to do it, take a look here (How can I add all the numbers in an array with out doing a foreach loop?).
|
---|