Do you have the option to "seek" to the correct place in the file to make your changes? For example, perhaps:
- Your changes are few compared to writing out the whole file - Your changes do not change the size of the file (or you can pad line-end with spaces) It is an edge case, but just a thought. -----Original Message----- From: [email protected] <[email protected]> Sent: Tuesday, May 30, 2023 10:12 PM To: [email protected] Subject: storage types for big file Hello I have a big file after making changes in ram I need to write it back to disk. I know for text file store it's written line by line. But is there any better storage type for high performance read/writing? maybe binary? Thank you. -- Sent from https://dkinbox.com/ -- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected] http://learn.perl.org/
