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

Enable python 3.13 support #27

Draft
wants to merge 2 commits into
base: main
Choose a base branch
from
Draft

Enable python 3.13 support #27

wants to merge 2 commits into from

Conversation

DomFijan
Copy link
Collaborator

Description

Adds support for python 3.13

Have you (if appropriate)

  • Updated changelog
  • Updated Documentation
  • Add tests
  • Added name to contributors

@joaander
Copy link
Member

It appears that numba does not yet have Python 3.13 wheels.

@DomFijan
Copy link
Collaborator Author

DomFijan commented Nov 16, 2024

Only one function uses numba. I replaced it with a equivalent numpy function for roughly similar performance. Numpy is faster for small and very large arrays, but slower on mid sized ones:

Array Size   Numba Time (s)  NumPy Time (s)
----------------------------------------
1000         0.003238        0.000006
5000         0.000011        0.000024
10000        0.000025        0.000061
50000        0.000177        0.000317
100000       0.000898        0.001153
250000       0.003323        0.003977
500000       0.007930        0.008528
1000000      0.021048        0.020923

@DomFijan
Copy link
Collaborator Author

waiting on freud now

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