debug
expressions are compiled away for --release
(tweet)
#4971
ggreif
8000
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
debug
expressions are your friends. E.g.will
assert
in--debug
mode while developing a buggy version, but once corrected and deployed in--release
mode it won't bother consuming cycles.Beta Was this translation helpful? Give feedback.
All reactions