If it takes less than 1/2 a second it's fast enough. If it takes more than 10 seconds it is too slow. Within the realm of general computing tasks it doesn't matter what it is. Doesn't mean you can speed it up of course - some things just take the time they are going take. But if you are waiting for it, it's too slow and otherwise it's fast enough. :)

Used to be that computers were slower than they are now and to get acceptable performance you had to do tricky stuff of many more types of it than you do now. Some people are still stuck in that pattern of thought.

As others have said or implied in this thread, there is great virtue in providing an idiomatic solution to a common problam so that a "nearly best" solution just flows off the finger tips. If performance is measured in "time to solution", then time writing the code to find the solution is a component too - lazyness counts for a lot and idiomatic code is very often a nice compromise between programmer and execution performance.

Keep those performance questions coming.


DWIM is Perl's answer to Gödel

In reply to Re: Is Performance Overrated? by GrandFather
in thread Is Performance Overrated? by pileofrogs

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.