Skip to content

Commit

Permalink
Fix cython performance regression (#327)
Browse files Browse the repository at this point in the history
* added cython compiler directive

* [skipci] changelog
  • Loading branch information
MarcAntoineSchmidtQC authored Nov 8, 2023
1 parent 52e8583 commit 74defb6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions CHANGELOG.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,11 @@ Changelog
Unreleased
----------

**Bug fix:**

- Added cython compiler directive legacy_implicit_noexcept = True to fix performance regression with cython 3.


**Other changes:**

- Refactored the pre-commit hooks to use ruff.
Expand Down
1 change: 1 addition & 0 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,7 @@
"initializedcheck": False,
"nonecheck": False,
"cdivision": True,
"legacy_implicit_noexcept": True,
},
),
zip_safe=False,
Expand Down

0 comments on commit 74defb6

Please sign in to comment.