https://issues.dlang.org/show_bug.cgi?id=5548

Jack Stouffer <j...@jackstouffer.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |performance
                 CC|                            |j...@jackstouffer.com
           Hardware|Other                       |All

--- Comment #4 from Jack Stouffer <j...@jackstouffer.com> ---
Definitely agree that this should exist. Currently in the array overloads,
there are a lot of uses of functions that use appender internally and then
return the managed array with app.data(), only to be appended to another
appender in the parent function. Having OutputRange overloads would represent a
significant performance boost.

Once https://github.com/dlang/phobos/pull/5018 is pulled, I'll start working on
this.

BTW, in the mean time, converting to string can be used with OutputRanges via
std.range.put and std.conv.toChars.

--

Reply via email to