Release binary

Vladimir Voinkov voinkovv at gmail.com
Fri Jul 10 08:41:46 PDT 2009


I've noticed that constant strings are still presented in release bynary:

static invariant string Abc0 = "abcdefg";
static const string Abc1 = "abcdefg";

A source compiles with -O -release and the strings are not referenced. Is linked able to optimize them out?


More information about the Digitalmars-d-learn mailing list