Skip to content

Add noexcept to cdef nogil functions#46

Merged
honnibal merged 5 commits intomasterfrom
perf/fix-noexcept
May 22, 2025
Merged

Add noexcept to cdef nogil functions#46
honnibal merged 5 commits intomasterfrom
perf/fix-noexcept

Conversation

@honnibal
Copy link
Member

When compiling with Cython 3, nogil functions need noexcept explicitly, or they'll acquire the gil, causing potential performance problems.

@honnibal honnibal merged commit a34d0b0 into master May 22, 2025
15 checks passed
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.

1 participant