I "win"! :) My machine, not the one I ran the benchmark on:

Number of cores 1 (max 1) Number of threads 1 (max 1) Name Intel Pentium 4 Codename Northwood Specification Intel(R) Pentium(R) 4 CPU 2.66GHz Package (platform ID) Socket 478 mPGA (0x2) CPUID F.2.7 Extended CPUID F.2 Brand ID 9 Core Stepping C1 Technology 0.13 um Core Speed 2004.5 MHz Multiplier x FSB 20.0 x 100.2 MHz Rated Bus speed 400.9 MHz Stock frequency 2666 MHz Instructions sets MMX, SSE, SSE2 L1 Data cache 8 KBytes, 4-way set associative, 64-byte line +size Trace cache 12 Kuops, 8-way set associative L2 cache 512 KBytes, 8-way set associative, 64-byte lin +e size FID/VID Control no

From that machine:

This is Perl 5.010001 Rate range repeat isook unpack substr range 117311/s -- -6% -7% -24% -81% repeat 124414/s 6% -- -2% -20% -80% isook 126456/s 8% 2% -- -18% -79% unpack 155069/s 32% 25% 23% -- -74% substr 607361/s 418% 388% 380% 292% --

I'm scared of looking at the stats of my tv computer (aka Frankenputer). It's some kind of P3, for starters.


In reply to Re^7: better (faster) way of writing regexp by ikegami
in thread better (faster) way of writing regexp by jodaka

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.