D
drunkenfist
Hi,
I'm writing a Perl script that fills a HD with random data as fast as possible.
open(FILE,'>garbage.dat');
while(1) { print FILE rand() }
This is terribly slow, so I did some tweaking:
open(FILE,'>garbage.dat');
while(1) {
print FILE (rand() x 10000)
}
ha, that one is a lot faster!
Any faster way?
I'm writing a Perl script that fills a HD with random data as fast as possible.
open(FILE,'>garbage.dat');
while(1) { print FILE rand() }
This is terribly slow, so I did some tweaking:
open(FILE,'>garbage.dat');
while(1) {
print FILE (rand() x 10000)
}
ha, that one is a lot faster!
Any faster way?