Andrew Kensler's permute(), a function for stateless, constant-time pseudorandom-order array iteration
That subtitle is a little bit of a mouthful, but I’ve been wanting to talk about Andrew Kensler’s permute() function for a while and I wanted to make it clear right off the bat why it’s useful.