A benchmark for random memory access