[Issue 20950] std.conv.text shouldn't needlessly allocate

d-bugmail at puremagic.com d-bugmail at puremagic.com
Thu Jun 18 14:36:15 UTC 2020


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

Steven Schveighoffer <schveiguy at yahoo.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |schveiguy at yahoo.com

--- Comment #1 from Steven Schveighoffer <schveiguy at yahoo.com> ---
Yes, agree. And also, the code is all in there -- the code that writes the
converted int to a static array buffer can be factored out of toImpl, and used
to avoid an extra allocation.

--


More information about the Digitalmars-d-bugs mailing list