develooper Front page | perl.beginners | Postings from May 2023

RE: storage types for big file

Thread Previous | Thread Next
From:
Claude Brown via beginners
Date:
May 30, 2023 21:33
Subject:
RE: storage types for big file
Message ID:
SYBP282MB2527AC3A707904131AD5F135C74B9@SYBP282MB2527.AUSP282.PROD.OUTLOOK.COM
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: tom@dkinbox.com <tom@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-unsubscribe@perl.org
For additional commands, e-mail: beginners-help@perl.org
http://learn.perl.org/



Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About