comparison of execution speed of array types