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: t...@dkinbox.com <t...@dkinbox.com> Sent: Tuesday, May 30, 2023 10:12 PM To: beginners@perl.org 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: beginners-unsubscr...@perl.org For additional commands, e-mail: beginners-h...@perl.org http://learn.perl.org/