On Friday, 21 August 2015 at 23:51:16 UTC, cym13 wrote:
On Friday, 21 August 2015 at 22:39:29 UTC, Nick Sabalausky wrote:
Not at a pc, so can't test right now, but does Appender work at compile time? If not, does ~= still blow up CTFE memory usage like it used to? Any other best practice / trick for building strings in CTFE?

I did two experiments:

[...]

Each make use of CTFE but the f (appender) variant blew my RAM (old computer)

Excepted any error from my part, shouldn't you call '.reserve' in order to make the appender efficient ?



Reply via email to