/cython

Exercises and snippets for Cython

Primary LanguagePython

Chapters:

  • 3 - Cython in Depth
  • 4 - Cython in Practice: N-Body Simulation
  • 5 - Cython and Extension Types
  • 6 - Organizing Cython code
  • 9 - Cython Profiling Tools
    • step 1 - pure Python
    • step 2 - move to .pyx
    • step 3 - static typing and move sin2 to .pyx
    • step 4 - use sin function from C library
  • 10 - Cython, NumPy and Typed Memoryviews