NotesOnCython icon indicating copy to clipboard operation
NotesOnCython copied to clipboard

Typed cpdef()

Open itziakos opened this issue 10 years ago • 0 comments

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 long to be consistent with the C implementation 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

itziakos avatar May 09 '15 06:05 itziakos