In theory ikegami's unpack approach should be multitudes faster than the substr approach, as unpack is one single OP. This reference approach should be somewhere in between. I'm curious how a Benchmark would relate the three on the original sized files and if disk-io actually minimizes the effect of the parsing speed difference.
In reply to Re^2: Working with fixed length files
by Tux
in thread Working with fixed length files
by vendion
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |