Introduction to Cython: Glossary

Key Points

Cython Syntax
  • Cython supports a range of basic C data types.

  • Variables must be declared with C data types to get a performance boost.

  • Normal Python functions can be mixed with Cython functions.

  • Normal Python syntax is used in most places.

Executing Cython Code
  • Cython programs can be compiled manually.

  • Cython provides support for IPython to compile and run Cython programs.

  • The pyximport module allows importing Cython programs directly.

Cython for NumPy Users
  • Normal Cython features can be used to improve the performance of NumPy programs.

  • Cython supports an efficient indexing scheme for NumPy.

  • Some correctness checking features can be disabled if maximum speed is required.

Glossary

FIXME