in reply to Efficiency and Functions in loops
my %cache; while ($foo < $cache{$bar} ||= ReallyComplexFunction($bar)) { doStuff(); }
------
We are the carpenters and bricklayers of the Information Age.
Don't go borrowing trouble. For programmers, this means Worry only about what you need to implement.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Efficiency and Functions in loops
by suaveant (Parson) on Oct 11, 2001 at 22:17 UTC |