WOW. I'm surprised. Really. I do understand your code and the way it works, but that it outperforms unpack surprises me.
Combining the two techniques makes me fantasize about bindcolumns for unpack. I'm convinced that the delay for unpack is not the parsing of the format, but the creation and copying of the scalars on the stack and into the target list.
/me has more wishes for unpack, like unpacking from a stream that automatically moves forward for all bytes/characters read for the unpack.
In reply to Re^4: Working with fixed length files
by Tux
in thread Working with fixed length files
by vendion
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |