String Switch Lowering

Benjamin Thaut code at benjamin-thaut.de
Thu Jan 25 18:48:36 UTC 2018


Am 25.01.2018 um 19:42 schrieb Jonathan M Davis:
> 
> That particular switch statement is in a function that's deprecated and
> scheduled to be completely removed in about six months, so I don't see much
> point in worrying about it unless it's causing serious problems, and while
> that symbol name is stupidly long, AFAIK, it's not really causing any
> problems.
> 

The main problem is binary size for shared library verisons of phobos. 
The overly long symbols names contribute significantly to binary size as 
for both exports and imports. The full symbol name is stored in the dll 
and the exe that uses the dll.

-- 
Kind Regards
Benjamin Thaut


More information about the Digitalmars-d mailing list