3 ms·
"It's much faster to just pull numbers out of your head" I don't doubt that, but the context was to generate reasonably good (in the sense of "looks like indep
by Someone 10y ago
"It's much faster to just pull numbers out of your head"
I don't doubt that, but the context was to generate reasonably good (in the sense of "looks like independent samples from a 50/50 distribution") sequences.
Humans are notoriously bad at that (example: in the first 9 bits, one would expect four consecutive zeroes or ones. Try finding someone who produces that when 'just pulling numbers out f their head as fast as you can write them down').
I think this will be significantly better (as indicated above: for shorter sequences), even though it lumps a, e, i, n and r to the bit pattern '01'. It also can be quite fast, even if you do it by memorizing the mapping from letter to 1..26 doing 'mod 4', and conversion to two binary digits.