-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcythonnumba.tex
More file actions
40 lines (24 loc) · 835 Bytes
/
cythonnumba.tex
File metadata and controls
40 lines (24 loc) · 835 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
% %
\begin{figure}
\includegraphics[width=0.5\linewidth]{cythonlogo}
\end{figure}
\begin{figure}
\centering
\includegraphics[width=0.7\linewidth]{cython_vs_chart}
\end{figure}
% =====%
\frametitle{Performance Modules : Cython and Numba}
A number of modules are available to help with performance. These include Cython and Numba.
\begin{description}
[Cython] Cython
is a Python module which facilitates using a simple Python-derived creole to write functions that can be
compiled to native (C code) Python extensions.
[Numba]
Numba uses a method of just-in-time compilation to
translate a subset of Python to native code using \textit{Low-Level Virtual Machine} (LLVM).
\end{description}
% ===== %
\begin{figure}
\centering
\includegraphics[width=0.99\linewidth]{numba}
\end{figure}