[Issue 5548] New: Efficient std.conv.to conversions
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Tue Feb 8 12:50:22 PST 2011
http://d.puremagic.com/issues/show_bug.cgi?id=5548
Summary: Efficient std.conv.to conversions
Product: D
Version: D2
Platform: Other
OS/Version: All
Status: NEW
Severity: normal
Priority: P2
Component: Phobos
AssignedTo: nobody at puremagic.com
ReportedBy: tomeksowi at gmail.com
--- Comment #0 from Tomasz Sowiński <tomeksowi at gmail.com> 2011-02-08 12:47:58 PST ---
Currently most to!T conversions allocate behind the scenes. I propose that the
conversions where T is dynamically sized (like an array) get a speedy overload
of the form:
void to(T, S, O)(S source, O output) if (isOutputRange!(O, T));
Example: to!string(9234820934, appender);
For further investigation: consider assuming the output range to be buffered.
--
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
More information about the Digitalmars-d-bugs
mailing list