Please sign in to comment.
Cython compiler directives for faster simulations (#403)
I created a PR for Cython (cython/cython#2595) which added compiler directive support for cython.inline(), which is now present in Cython>=0.92 This PR introduces user-configurable Cython compiler directives within the ScipyOdeSimulator. By default, these directives disable bounds, wrap around, "None", and initialized checks. Some initial benchmarking on asv shows a speed improvement of about 5% on my laptop (every little helps?)
- Loading branch information...
Showing with 30 additions and 13 deletions.