It depends on what you mean by performance. If you mean micro-optimisations like converting hash access to array access then these can matter somewhat if you are trying to handle large volumes of data or requests but the benefits tend to linear in the amount of data your process. That is by making 1 cycle of processing 10% cheaper, you knock at most 10% of the whole process.

On the other hand there are optimisations like using quicksort instead of bubblesort or using a heap for a priority queue rather than an array or a linked list. These are the sort of optimisations that change your program from take n^2 second to n*log(n) seconds. This can be the difference between "it finishes after an hour" and "I left it running all weekend and it's still not finished". These days performance tends to only matter for scaling up. We tend to have plenty of memory and things tend to finish faster than we can notice so


In reply to Re: Is Performance Overrated? by fergal
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.