in reply to speedup Tie::File?

You can improve the buffer size with the memory option, see the documentation.