There's more than one way to do things | |
PerlMonks |
Re^4: Sudoku puzzles solved using Regular Expressionsby ikegami (Patriarch) |
on Jun 30, 2005 at 05:42 UTC ( [id://471226]=note: print w/replies, xml ) | Need Help?? |
Yeah, there are diminishing returns to adding more shortcuts. Technically, $grid_v is not needed at all.
can be written as
I just thought the former would be faster, even though we must constantly make copies of $grid_v in addition to $grid_h.
In Section
Cool Uses for Perl
|
|