On Friday, 21 January 2022 at 03:50:37 UTC, forkit wrote:
I might have to use a kindof stringbuilder instead, then write a massive string once to the file.
You're using writeln, which goes through C I/O buffered writes. Whether you make one call or several is of little consequence - you're limited by buffer size and options.
