Preach it, man, preach it! I'd go further - performance matters much less than 1% of the time in my experience. Maybe 0.1% would be more accurate. Even taking an edge case like Google, the performance sensitive stuff they do can't be more than a few percent of their total effort. Their best idea - map-reduce on a gigantic cluster - seems to me to be mostly a great way to speedup slow code with no programmer effort!

It's a damn shame though - optimization is such fun. HTML::Template::JIT was a blast to write, but it's worth noting that despite being the absolute hands-down fastest templating engine available it's virtually never been used. I couldn't even justify using it in a mass-mailer with very tight performance requirements, templating just wasn't the bottleneck (MIME::Lite was).

-sam


In reply to Re: CPU cycles DO NOT MATTER! by samtregar
in thread CPU cycles DO NOT MATTER! by dragonchild

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.