in reply to Re^2: Design/Style question about writing to a file from different functions
in thread Design/Style question about writing to a file from different functions
I would probably use temp files then append the rest to the file with the checksum once everything is done. That way it doesn't have to be stored in the memory while processing and let the OS do it which would most likely be the most efficient. But without specifics it is hard to tell, just poking in the dark here.