[Issue 20566] std.sformat should avoid allocating memory when printing floating point values

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Feb 8 07:43:12 UTC 2020


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

Dlang Bot <dlang-bot at dlang.rocks> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |pull

--- Comment #1 from Dlang Bot <dlang-bot at dlang.rocks> ---
@rainers created dlang/phobos pull request #7393 "fix Issue 20566 - std.sformat
should avoid allocating memory when pri…" fixing this issue:

- fix Issue 20566 - std.sformat should avoid allocating memory when printing
floating point values

  use stack allocated buffers as long as the required precision is within
reasonable values

https://github.com/dlang/phobos/pull/7393

--


More information about the Digitalmars-d-bugs mailing list