it's not faster
It *is* faster than your method.
Not as fast as writing 10MB of a single character for sure, but then you are calling a function, rand 10 million times; it has to be slower.
The only question is; how much faster do you need it to be?
In reply to Re^3: Is rand() really that slow or am I just using it wrong?
by BrowserUk
in thread Is rand() really that slow or am I just using it wrong?
by adiuva
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |