NotesOnCython
NotesOnCython copied to clipboard
Typed cpdef()
This PR updates the notes to include benchmarks for using a typed cpdef function for the Fibonacci function (recursive algorithm).
in more details:
- All typed functions now return
longto be consistent with theCimplementation of the fibonacci function. - A new bechmark script is provided
- Documentation is updated with the benchmarking of the typed cpdef (it is as fast or even faster than the hand written C wrapper.
- A simple script is provided to create the comparison graph.
- A testcase is added for the fibonacci functions.
- A make.bat is provided for compiling the documentation under windows