Zero cost exception handling #60237
Answered
by
Clockwork-Muse
AliRezaBeigy
asked this question in
Ideas
-
Hello everyone recently I read some news about "zero-cost exception handling" |
Beta Was this translation helpful? Give feedback.
Answered by
Clockwork-Muse
Oct 11, 2021
Replies: 1 comment 2 replies
-
C# already has near-zero costs for exceptions that are not thrown, which is what "zero cost" is referring to (not for exceptions that end up being thrown). What makes you think C# doesn't have this feature? |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
AliRezaBeigy
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
C# already has near-zero costs for exceptions that are not thrown, which is what "zero cost" is referring to (not for exceptions that end up being thrown). What makes you think C# doesn't have this feature?