in reply to Re^6: Working with fixed length files
in thread Working with fixed length files
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".
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^8: Working with fixed length files (Crap benchmark!)
by Tux (Canon) on Apr 29, 2011 at 09:46 UTC | |
|
Re^8: Working with fixed length files (Crap benchmark!)
by Tux (Canon) on Apr 29, 2011 at 11:37 UTC |