]> arthur.barton.de Git - bup.git/commit
datagen.c: a quick program to generate a repeatable series of bytes.
authorAvery Pennarun <apenwarr@gmail.com>
Wed, 30 Dec 2009 06:08:27 +0000 (01:08 -0500)
committerAvery Pennarun <apenwarr@gmail.com>
Wed, 30 Dec 2009 06:08:27 +0000 (01:08 -0500)
commita9a163f748c140ab5e4fc5131f74cc207e0c65fc
tree93edf597cfe4c55c8e693995e3af7a2b251a9825
parentbf3e85444def66975da45489714ed75ff1aee609
datagen.c: a quick program to generate a repeatable series of bytes.

Useful for testing.  Note that we *don't* see the random number generator,
so every time you generate the bytes, you get the same sequence.

This is also vastly faster than /dev/urandom, since it doesn't try to be
cryptographically secure.  It generates about 200 megs/sec on my computer,
which is much faster than a disk and thus useful for testing the speed of
hashsplit.
.gitignore
Makefile
datagen.c [new file with mode: 0644]