You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The suggestion came up today to add a compiler flag that would tell the compiler to just skip any statements of a certain level or lower. Something like isTraceEnabled is pretty cheap anyway, but compiling it out is even cheaper!
The text was updated successfully, but these errors were encountered:
One legit reason why one would need such a feature is to hide some internal details from non-debug production code, which is not unusual in closed source projects.
On the other hand, maybe tools like ProGuard already support such shrinking and do other optimizations and obfuscations as well. So, I think, this feature is not really needed.
The suggestion came up today to add a compiler flag that would tell the compiler to just skip any statements of a certain level or lower. Something like
isTraceEnabled
is pretty cheap anyway, but compiling it out is even cheaper!The text was updated successfully, but these errors were encountered: