Well, the magic autoincrement won't help too much, as it doesn't iterate over the whole range of 256 characters. Still, you are correct, you don't have to create all the possible strings in memory. Nevertheless with a regex like /./ you get to keep all possibilites so the memory problem remains. Not to mention the time issue ...
-- Hofmator
| [reply] [Watch: Dir/Any] [d/l] |
I was aiming more at the 'limited character set' thing with magic autoincrement, but yes, you're right. And I *did* mention the time issue.
'The fickle fascination of and Everlasting God'
- Billy Corgan, The Smashing Pumpkins
| [reply] [Watch: Dir/Any] |