Skip to content
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

New way of handling ParamCast errors instead of throwing exceptions. #798

Merged
merged 9 commits into from
Dec 8, 2023

Conversation

AmyrAhmady
Copy link
Member

Well, this was discussed way too many times in our internal chats, throwing exceptions for simply failing casting parameters can cost us performance and it can be really expensive sometimes when you have no idea it's actually even happening and the native is being used rapidly.

Server/Components/Pawn/Scripting/Types.hpp Outdated Show resolved Hide resolved
@AmyrAhmady AmyrAhmady merged commit 66d854f into master Dec 8, 2023
13 checks passed
@AmyrAhmady AmyrAhmady deleted the amir/no-exceptions branch December 8, 2023 19:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants