[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Omaha.pm] Evolution or devolution?




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@petdance.com => www.petdance.com => AIM:petdance