[Issue 18324] String switch lowering geneartes really long symbol names
d-bugmail at puremagic.com
d-bugmail at puremagic.com
Thu May 11 10:25:19 UTC 2023
https://issues.dlang.org/show_bug.cgi?id=18324
RazvanN <razvan.nitu1305 at gmail.com> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |razvan.nitu1305 at gmail.com
--- Comment #1 from RazvanN <razvan.nitu1305 at gmail.com> ---
The longest mangled name for a switch that I've found has a 392 length. This
happens because the runtime __switch hook has variadic parameters which
represents the case strings. Maybe this could be improved by using a compile
time generated array of string cases.
--
More information about the Digitalmars-d-bugs
mailing list