you would have a lot more expensive fitness evaluations than necessary
Why? With the OP's brute force method, you're fully enumerating the search space.
With a GA, you're "intelligently" pruning, or picking a path through the search space. That's the whole point, actually. As I said, the building block hypothesis makes sense here. Building blocks such as $_ or print are more likely to survive, for example.
A word spoken in Mind will reach its own level, in the objective world, by its own weight
| [reply] [d/l] [select] |
| [reply] |
| [reply] |
"A lot" was probably wrong here, but what I wanted to say is that I don't believe it is possible to generate more "correct strings" in a given time with a GA. And if you want to find ALL (as stated by the OP) correct strings, you can't use GAs at all.
| [reply] |