[Issue 11810] std.stdio.byLine/readln performance is very bad
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Dec 26 14:23:31 PST 2013
https://d.puremagic.com/issues/show_bug.cgi?id=11810
--- Comment #6 from hsteoh at quickfur.ath.cx 2013-12-26 14:23:27 PST ---
The whole point of byLine is to be a convenient API for user code to read lines
from a file. It should not be constrained to using fgetc() just because we
can't predict line length in advance. It should be built on top of a buffering
mechanism (maybe byChunk) so that it offers good performance to a very
commonly-used user operation. I highly recommend Peter Alexander to submit the
improved byLine implementation to Phobos.
--
Configure issuemail: https://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list