-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use ThrowHelper
for exceptions
#45
Comments
I'm still looking at this one, although I haven't been able to find a suitable bit of code that I can benchmark (in benchmark.net) that demonstrates any speed increase. |
Profiling this is quite tricky, although there are performance gains to be had, so this item should be implemented. |
@SteveDunn What's the purpose for this? Maintainability or performance? |
Performance- using a helper method improves the rendered code from JIT. |
@viceroypenguin 👍 The |
Yes, other exceptions should be wrapped separately with a similar helper class to benefit from similar performance optimizations. All exceptions receive these optimizations, not just this library or the system exceptions - it's just that the system ones are the ones that make sense to put into |
Looking at this one at long last! I don't really want to take a dependency on anything, so I'm thinking of generating a type that has all of the methods required for the exceptions that are thrown with Vogen. |
For |
Implemented in 5.0.2 |
No description provided.
The text was updated successfully, but these errors were encountered: