in reply to Re: Re^4: creating all possible random 'words' from 4 letters (pass buck)
in thread creating all possible random 'words' from 4 letters
Yes, a quick check of 5.8.0 shows that this takes a long time to finish:
while this finishes immediately:foreach ( glob( "{a,b,c,d}" x 10 ) ) { print "$_\n"; last; }
I'll leave it to OMAR to check the memory use :)foreach ( 'aaaaaaaaaa'..'dddddddddd' ) { print "$_\n"; last; }
-QM
--
Quantum Mechanics: The dreams stuff is made of
|
|---|