debug expressions are compiled away for --release (tweet)
#4971
ggreif
started this conversation in
Show and tell
Replies: 1 comment
-
|
Posted on Dev Twitter 3/28 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
If you want your internal invariants checked but deployed versions should run cycle-efficiently, then
debugexpressions are your friends. E.g.will
assertin--debugmode while developing a buggy version, but once corrected and deployed in--releasemode it won't bother consuming cycles.Beta Was this translation helpful? Give feedback.
All reactions