Why is sformat and formattedWrite (appender) allocating GC mem here?

James Blachly james.blachly at gmail.com
Tue Sep 3 14:03:30 UTC 2019


On 8/31/19 5:12 PM, ag0aep6g wrote:
> I've made a pull request to get rid of those allocations:
> https://github.com/dlang/phobos/pull/7163

Wonderful!
For my own learning, why was a unittest to ensure no GC added to sformat 
instead of a @nogc annotation?


More information about the Digitalmars-d-learn mailing list