perl version?
With your program I get 'x' outside of string in unpack because of the x2, after removing those, I get
Rate buk ike
buk 19.6/s -- -43%
ike 34.1/s 74% --
$ perl -e "die $^V"
v5.12.2
On 5.008009 I get
Rate buk ike
buk 22.7/s -- -35%
ike 35.1/s 54% --
Rate buk ike
buk 24.9/s -- -47%
ike 47.1/s 89% --
$ ..\perl.exe -e " die $^V"
v5.14.0
This is typical win32 mingw/activestate build
update: Well you didn't copy buk's code exactly, you omitted
local $/ = \(2 * 122);
which appears critical
5.008009
Rate ike buk
ike 35.5/s -- -57%
buk 83.1/s 134% --
v5.12.2
Rate ike buk
ike 33.6/s -- -55%
buk 74.4/s 121% --
v5.14.0
Rate ike buk
ike 46.3/s -- -48%
buk 88.2/s 91% --
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: |
| & | | & |
| < | | < |
| > | | > |
| [ | | [ |
| ] | | ] |
Link using PerlMonks shortcuts! What shortcuts can I use for linking?
See Writeup Formatting Tips and other pages linked from there for more info.