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

PERF: add explicit noexcept qualifiers to fp_utils functions #4386

Merged

Conversation

neutrinoceros
Copy link
Member

PR Summary

Partially addresses the performance regression with Cython 3.0 discussed in #4355 (in particular, for the scope of this PR, see #4355 (comment))

noexcept is a new qualifier in Cython 3 (backported as a noop in Cython 0.29.33 for ease of transition), which allows to disable error propagation (which is the default behaviour in Cython 0.29).

@neutrinoceros neutrinoceros marked this pull request as ready for review March 27, 2023 22:10
@neutrinoceros neutrinoceros changed the title BLD: add explicit noexcept qualifiers to fp_utils functions PERF: add explicit noexcept qualifiers to fp_utils functions Mar 28, 2023
@neutrinoceros neutrinoceros force-pushed the cython3_noexcept_fp_utils branch from d7e0c57 to cbf2d7b Compare March 28, 2023 09:20
@neutrinoceros
Copy link
Member Author

@matthewturk can I get a merge on this ?

@matthewturk matthewturk enabled auto-merge March 29, 2023 14:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants