in reply to Is Performance Overrated?

I think these questions are often really about solutions that are "efficient" from the standpoint of laziness and impatience, not runtime.

Questions about Perl idioms and some golfing exercises are examples of this kind of thing: "I know this works, but there must be a shorter/easier way".

Somtimes, that happens to be the same thing as efficiency from a machine perspective (e.g. using map and grep instead of looping over things again and again), but it doesn't have to be to still be valuable.

-xdg

Code written by xdg and posted on PerlMonks is public domain. It is provided as is with no warranties, express or implied, of any kind. Posted code may not have been tested. Use of posted code is at your own risk.

Replies are listed 'Best First'.
Re^2: Is Performance Overrated?
by derby (Abbot) on Feb 13, 2006 at 20:17 UTC

    I'd have to agree with xdg on this one and add that I think a lot of users are really asking for the idiomatic way to do things (which is why I like to answer those questions with links to Effective Perl Programming.

    -derby