-
-
Notifications
You must be signed in to change notification settings - Fork 197
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
Disable panic hooks in Release mode #889
Conversation
API docs are being generated and will be shortly available at: https://godot-rust.github.io/docs/gdext/pr-889 |
This partially addresses #845 (comment) so I like it But there is no way to enable |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
Since the PR is not in draft: please squash the commits 🙂
510f3aa
to
c1fcea0
Compare
Done. |
Please add periods/fullstops at the end of comments. You can also change existing ones. |
c1fcea0
to
dfddbb4
Compare
Update private.rs Update private.rs Update private.rs Update private.rs Update Cargo.toml Update private.rs Update private.rs Update private.rs
dfddbb4
to
2db5ca4
Compare
Ok, look good from my side to be merged. |
Add a flag that does extra logging only when enabled.
Edit: This improves performance a lot. From my tests, doing a project https://github.com/Ughuuu/performance-test where I call a function 1 million times, I get the following times before and after in godot-rust:
The function is a simple
noop
function.