"be consistent" | |
PerlMonks |
Re^7: Working with fixed length files (Crap benchmark!)by BrowserUk (Patriarch) |
on Apr 28, 2011 at 19:33 UTC ( [id://901856]=note: print w/replies, xml ) | Need Help?? |
The reason all the code runs the same speed is because sysread doesn't work on ramfiles, so the loops are never being entered. That also explains the dramatic slowdown affect of local $/ = \nnn;. It adds an operation to a call that does almost nothing, and twice almost nothing is longer than 1 times almost nothing. Which brings up another mystery entitled: "The Strange Case of the Disappearing AutoDie". Examine what is said, not who speaks -- Silence betokens consent -- Love the truth but pardon error.
"Science is about questioning the status quo. Questioning authority".
In the absence of evidence, opinion is indistinguishable from prejudice.
In Section
Seekers of Perl Wisdom
|
|