Most performant way of converting int to string

Jakob Ovrum via Digitalmars-d-learn digitalmars-d-learn at
Wed Dec 23 03:46:37 PST 2015

On Wednesday, 23 December 2015 at 11:21:32 UTC, Jakob Ovrum wrote:
> Dynamic memory allocation is expensive. If the string is 
> short-lived, allocate it on the stack:

See also std.conv.toChars[1] for stringifying lazily/on-demand.

More information about the Digitalmars-d-learn mailing list