3 ms·
That's what I did, I edited my post above. It's around 23x slower, although I had to use a function invocation for %timeit as well, so it's probably a bit faste
by StavrosK 13y ago
That's what I did, I edited my post above. It's around 23x slower, although I had to use a function invocation for %timeit as well, so it's probably a bit faster in practice.
- signed0 13y agoOne more for kicks: n = iter(array).next [(n(), n(), n()) for _ in xrange(len(array) / 3)]