tolf and detab

Kagamin spam at here.lot
Sun Aug 8 22:51:15 PDT 2010


bearophile Wrote:

> I think it minimizes heap allocations, the performance is tuned for a line length found to be the "average one" for normal files. So I presume if your text file has very short lines (like 5 chars each) or very long ones (like 1000 chars each) it becomes less efficient.
> 
> So it's probably a matter of good usage of the C I/O functions and probably a more efficient management by the GC.
> 
Don't you minimize heap allocation etc by reading whole file in one io call?



More information about the Digitalmars-d mailing list