Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.
Real-time collaboration for Jupyter Notebooks, Linux Terminals, LaTeX, VS Code, R IDE, and more,
all in one place. Commercial Alternative to JupyterHub.
| Download
Project: math480-2016
Views: 3160Cython
A Very Brief Introduction!
Cython website: http://cython.org/
And a mailing list thread from today: https://groups.google.com/forum/#!topic/cython-users/7zlP_j5Rd7w
125 loops, best of 3: 2.12 ms per loop
Defined math, sin_sum_cython0
Auto-generated code...125 loops, best of 3: 1.5 ms per loop
1.41333333333333
Talk about type declaration and direct calling of C code...
Defined sin_sum_cython
Auto-generated code...625 loops, best of 3: 472 µs per loop
4.49152542372881
1.9395054106807317
CPU time: 3.88 s, Wall time: 3.94 s
9924.43324937028
You probably can't beat this by much without a new idea...