Closed kiith-sa closed 9 years ago
Refactor writeHeader, writeTOC, readAndWriteComment, and so on so they generate and return strings. This will allow removing the additional TOC content hack (writing/reading a temp file) and refactoring parts of that code.
writeHeader
writeTOC
readAndWriteComment
Whould ref Appender!string be better?
ref Appender!string
Yes, it would probably result in slightly better performance than just plain string.
string
Solved as of f9502bc766295703be6854ec2f35d6c097d9691f
Refactor
writeHeader
,writeTOC
,readAndWriteComment
, and so on so they generate and return strings. This will allow removing the additional TOC content hack (writing/reading a temp file) and refactoring parts of that code.