Making byLine faster: we should be able to delegate this
Steven Schveighoffer via Digitalmars-d
digitalmars-d at puremagic.com
Mon Mar 23 07:52:40 PDT 2015
On 3/22/15 3:03 AM, Andrei Alexandrescu wrote:
> * assumeSafeAppend() was unnecessarily used once per line read. Its
> removal led to a whopping 35% on top of everything else. I'm not sure
> what it does, but boy it does takes its sweet time. Maybe someone should
> look into it.
That's not expected. assumeSafeAppend should be pretty quick, and
DEFINITELY should not be a significant percentage of reading lines. I
will look into it.
Just to verify, your test application was a simple byline loop?
-Steve
More information about the Digitalmars-d
mailing list