On Monday, 1 August 2022 at 16:11:52 UTC, frame wrote:

... because loading all in memory while not necessary is wasted memory if you have large files to process.

Noted with thanks. Actually, some JSON input files are pretty large (>1Mb).

I would just process each file and write it to the file directly but it always depends on the intended purpose.

Noted as well. Thank you, this will come handy in the future.

-ikel


Reply via email to