[Omaha.pm] Evolution or devolution?
Andy Lester
andy at petdance.com
Thu Dec 28 13:37:57 PST 2006
On Dec 28, 2006, at 3:37 PM, Thompson, Kenn wrote:
>>> print [ sort { $common_rates{$b} <=> $common_rates{$a} } keys
> %common_rates ]->[0];
>
> Definitely shorter, but less readable (at least for us newbs). Is it
> noticably faster?
The question of "is it faster" is almost always irrelevant.
Processor time is orders of magnitude less expensive than programmer
time.
--
Andy Lester => andy at petdance.com => www.petdance.com => AIM:petdance
More information about the Omaha-pm
mailing list