Remember that in certain situations more important than overall memory size is memory locality. What can fit in the cache together and stay there longer will speed up a program on a multi-tiered memory system (which is just about everything running). Programs that make wild jumps through the code or that load a large data structure to touch just part of it and overwrite it again can slow the processor caches to a relative crawl. In a low-level language, you can sort of hand-optimize this stuff. In a mid-level language like C you can sort of hint to the compiler and it takes care of most details. In a high-level language, the tools may or may not have much done in this area depending on the language and implementation.


In reply to Re: Reaped: Processor or Memory by mr_mischief
in thread Reaped: Processor or Memory by NodeReaper

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.