On Monday, 1 August 2022 at 09:01:35 UTC, ikelaiah wrote:

Based in your suggestion, the snippet is now more brief.

While your string attempt wasn't that bad, because loading all in memory while not necessary is wasted memory if you have large files to process. I would just process each file and write it to the file directly but it always depends on the intended purpose.

Reply via email to