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".
In reply to Re^7: Working with fixed length files (Crap benchmark!)
by BrowserUk
in thread Working with fixed length files
by vendion
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |