[mike@prometheus PerlMonks]$ ./Russ.pl Benchmark: timing 1000000 iterations of Grep, Max, Ternary... Grep: 16 wallclock secs (14.74 usr + 0.10 sys = 14.84 CPU) @ 67 +385.44/s (n=1000000) Max: 37 wallclock secs (36.62 usr + 0.00 sys = 36.62 CPU) @ 27 +307.48/s (n=1000000) Ternary: 39 wallclock secs (38.23 usr + 0.01 sys = 38.24 CPU) @ 26 +150.63/s (n=1000000) [mike@prometheus PerlMonks]$ perl -v This is perl, v5.6.0 built for i386-linux [mike@prometheus PerlMonks]$ uname -mrs Linux 2.2.16-1 i586 [mike@prometheus PerlMonks]$ free total used free shared buffers cac +hed Mem: 63032 61552 1480 20196 2012 23 +872 -/+ buffers/cache: 35668 27364 [mike@prometheus PerlMonks]$ cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 5 model : 2 model name : Pentium 75 - 200 stepping : 12 cpu MHz : 199.436

In reply to Re: Algorithm Efficiency vs. Specialized Hardware? by mdillon
in thread Algorithm Efficiency vs. Specialized Hardware? by Russ

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.