Will mcs optimise constants at compile time? Like String waifu = "Erika&Xarn".Substring(0, 5) + "me ;]", would waifu be compiled as "Erika&me ;]"
?
Name:
Anonymous2011-02-17 17:15
I suspect that something like var waifu = "Woot" + "Woot" may be computed at compile-time (or, at least, it'd be easy to do if not already,) but anything that invokes a method probably cannot be, unless the compiler is really smart and has special optimizations for the String case (since it's immutable).
1) It's (0,6) there in the substring
2) You are a faggot
3) This is my third post here on /prog/. 4) You should not break other people's relationships like that