| Next | Program Repair Shop | 47 |
The next block in the program is the same loop with a different body:
326 foreach $filesz (sort { $b <=> $a } keys %names_by_size)
327 {
...
338 }
354 foreach $filesz (sort { $b <=> $a } keys %names_by_size)
355 {
...
463 }
Usually, I like to advise that such loops be merged, if possible.
In this case, I wonder if that's good advice
That second loop is already way too big
(Note: It would be 1/3 smaller without the comments.)
| Next | ![]() |
Copyright © 2006 M. J. Dominus |