Simple benchmark of naive vs arrays vs typed arrays