in reply to Re^3: Saving an array to a disk file
in thread Saving an array to a disk file

Are you not forgetting about IO buffering in the writing example? I expect the file layer to write one block at a time, regardless of how large or small each individual print is, unless you've disabled buffering.