[Issue 20950] std.conv.text(int) shouldn't needlessly allocate
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu Jun 18 17:06:09 UTC 2020
https://issues.dlang.org/show_bug.cgi?id=20950
--- Comment #3 from Steven Schveighoffer <schveiguy at yahoo.com> ---
That is the current case. I agree it shouldn't needlessly allocate if it can
help it. But then the "fix" needs to be defined as to how much allocation is
needed.
Int is straightforward -- the code is already in std.conv that can convert an
int to text without allocation. The general case is not as straightforward.
--
More information about the Digitalmars-d-bugs
mailing list