format with floating points GC allocating in DMD 2.090
Andrea Fontana
nospam at example.com
Fri Jan 31 08:52:58 UTC 2020
On Friday, 31 January 2020 at 08:45:55 UTC, bauss wrote:
> On Friday, 31 January 2020 at 07:20:17 UTC, cc wrote:
>> char[4096] buf;
>> writeln(GC.stats.usedSize);
>> foreach (i; 0 .. 10) {
>> sformat(buf, "%f", 1.234f);
>> writeln(GC.stats.usedSize);
>> }
>>
>
> Report it as a bug because it's definitely a bug and there was
> changes to the GC in 2.090.0
2.086 x64 on linux:
0
64
112
160
208
256
304
352
400
448
496
More information about the Digitalmars-d-learn
mailing list