randdata2 is faster than randdata, but even less random. randdata3 is surprisingly slower than randdata2, despite having one instead of thousands of calls to memcpy.