MichalStrehovsky / sizegame

Compare binary sizes of canonical Hello World in 18 different languages
210 stars 17 forks source link

Enable couples of optimizations for C# #7

Closed hez2010 closed 1 year ago

hez2010 commented 1 year ago
MichalStrehovsky commented 1 year ago

This is breaking the rules: https://github.com/MichalStrehovsky/sizegame#rules

hez2010 commented 1 year ago

But isn't You can enable optimizations if optimizations are not enabled by default.?

MichalStrehovsky commented 1 year ago

That's just a concession to compilers that don't optimize by default. "If the compiler has a master switch "enable optimizations", that switch should be used". We use that. Release is the default in .net 8.

hez2010 commented 1 year ago

Closing this PR as rules violation.