Is the performance gain worth the less legible implementation?
I could use "cp /dev/urandom file" but then it's hard to tell if the filesystem or kernel optimize a copy different from generating your own writes.
In a million years it’d have spared… about a 386 worth of compute ;-)