New in Delphi 12 – GetLinesEnumerator for reading text files line by line

GetLinesEnumerator – New enumerators for reading file content Returns the line-by-line enumerator without loading full file content into the memory. Memory Efficiency: TFile.GetLinesEnumerator reads the file line by line, which is memory-efficient for large files. Unlike TFile.ReadLines (which loads all lines into a list), this method streams the file incrementally. I test it with both […]

New in Delphi 12 – GetLinesEnumerator for reading text files line by line Read More »