Benchmarks of arrays in Java