Skip to content

Don't use a C++ exception when parsing numbers#3196

Merged
slipher merged 1 commit intoUnvanquished:masterfrom
slipher:nuke-exception
Nov 21, 2024
Merged

Don't use a C++ exception when parsing numbers#3196
slipher merged 1 commit intoUnvanquished:masterfrom
slipher:nuke-exception

Conversation

@slipher
Copy link
Contributor

@slipher slipher commented Nov 19, 2024

Encountered by illwieckz while testing the Saigo toolchain. It's a bad idea anyway since exceptions can be slow and this case was not even an error.

Encountered by illwieckz while testing the Saigo toolchain.
It's a bad idea anyway since exceptions can be slow and this case was
not even an error.
@illwieckz
Copy link
Member

It works! ❤️

Copy link
Member

@illwieckz illwieckz left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM!

@slipher slipher merged commit 0d84088 into Unvanquished:master Nov 21, 2024
@slipher slipher deleted the nuke-exception branch November 21, 2024 15:03
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.

3 participants