finish function for output ranges
Jonathan M Davis
jmdavisProg at gmx.com
Sun Aug 12 04:14:44 PDT 2012
On Sunday, August 12, 2012 14:57:00 Dmitry Olshansky wrote:
> Agreed. Current appender has .data (a-la peek) just because of
> implementation details that allow it. In fact there was a pull for
> Phobos including s better Appender (that would end up being a Builder I
> guess) that doesn't allow to peek at array in creation until the very
> end but provides much better performance profile.
>
> BTW what's happened with that pull? I recall github nickname sandford,
> but can't recall whose awesome work that was. I'd love to see it make
> its way into Phobos.
I'm not sure. He was basically told to redo it as ArrayBuilder rather than
changing Appender, since changing Appender would break a lot of code, and his
changes arguably made it so that it wasn't an appender anymore anyway. But he
has yet to post a new pull request with those changes.
- Jonathan M Davis
More information about the Digitalmars-d
mailing list