in reply to Sorting problem with Orcish Manuever
And if you find any typos or errors otherwise in the article, please let me know. A problem I noticed looking at it right now is that the orcish maneuver should really be:
to allow for false and undefined values to be returned by mangle().my $data_a = exists($cache{$a}) ? $cache{$a} : ($cache{$a} = mangle($a +)); my $data_b = exists($cache{$b}) ? $cache{$b} : ($cache{$b} = mangle($b +));
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^2: Sorting problem with Orcish Manuever
by bart (Canon) on May 22, 2006 at 12:39 UTC | |
|
Re^2: Sorting problem with Orcish Manuever
by roboticus (Chancellor) on May 22, 2006 at 16:40 UTC |