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?
- Re: tolf and detab Walter Bright
- Re: tolf and detab bearophile
- Re: tolf and detab Andrej Mitrovic
- Re: tolf and detab bearophile
- Re: tolf and detab Yao G.
- Re: tolf and detab bearophile
- Re: tolf and detab Yao G.
- Re: tolf and detab Andrei Alexandrescu
- Re: tolf and detab Andrei Alexandrescu
- Re: tolf and detab bearophile
- Re: tolf and detab Kagamin
- Re: tolf and detab bearophile
- Re: tolf and detab Michel Fortin
- Re: tolf and detab Jonathan M Davis
- Re: tolf and detab Andrei Alexandrescu
- Re: tolf and detab Andrei Alexandrescu
- Re: tolf and detab bearophile
- Re: tolf and detab Andrei Alexandrescu
- Re: tolf and detab bearophile
- Re: tolf and detab Andrei Alexandrescu
- Re: tolf and detab dsimcha