[Issue 11810] std.stdio.byLine/readln performance is very bad

d-bugmail at puremagic.com d-bugmail at puremagic.com
Tue Dec 24 10:08:16 PST 2013


https://d.puremagic.com/issues/show_bug.cgi?id=11810


bearophile_hugs at eml.cc changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bearophile_hugs at eml.cc


--- Comment #3 from bearophile_hugs at eml.cc 2013-12-24 10:08:13 PST ---
(In reply to comment #1)
> It has been discussed on IRC hundreds of times and we all agreed that if
> developer wants performance (s)he would read page-size chunks. That is why we
> have byChunk(size_t) in std.stdio, I believe. :)

This is not acceptable. byLine is a very commonly used function (far more than
byChunk in script-like D programs) and it should be sufficiently fast.

-- 
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