[Issue 8229] string literals are not zero-terminated during CTFE

d-bugmail at puremagic.com d-bugmail at puremagic.com
Sat Sep 28 04:20:55 PDT 2013


http://d.puremagic.com/issues/show_bug.cgi?id=8229



--- Comment #5 from Martin Nowak <code at dawg.eu> 2013-09-28 04:20:53 PDT ---
It is also a huge performance issue to use ArrayLiteralExp instead of
StringLiteralExp during object emission because the compiler creates a list of
1-byte elements. If for example you generate a 5kB string in CTFE this induces
a huge overhead.

-- 
Configure issuemail: http://d.puremagic.com/issues/userprefs.cgi?tab=email
------- You are receiving this mail because: -------


More information about the Digitalmars-d-bugs mailing list