Skip to content

Commit 04bcb3b

Browse files
authored
Merge pull request #71 from payno/review_opti
WIP: [optimization] review before presentation
2 parents a25e98e + 51e12ee commit 04bcb3b

1 file changed

Lines changed: 26 additions & 0 deletions

File tree

optimization/Optimization.ipynb

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2217,6 +2217,32 @@
22172217
"print(f\"Cython {1000*perf_ci_cython.best:8.1f} ms {ref/perf_ci_cython.best:6.3f}x\")\n",
22182218
"# print(f\"Pool {1000*perf_sq_pool.best:8.1f} ms {np.NaN:6.3f}x\")"
22192219
]
2220+
},
2221+
{
2222+
"cell_type": "markdown",
2223+
"id": "47fdf7a9",
2224+
"metadata": {
2225+
"slideshow": {
2226+
"slide_type": "subslide"
2227+
}
2228+
},
2229+
"source": [
2230+
"| | multithreaded | vector programming | GIL free | Compilation |\n",
2231+
"|---------------|:-------------:|:-------------------:|:--------:|:------------------------:|\n",
2232+
"| \"pure\" python | X | X | X | |\n",
2233+
"| numpy | (X) | V | (V) | |\n",
2234+
"| numexpr | V | V | V | just in time |\n",
2235+
"| numba | V | (V) | V | just in time (uses LLVM) |\n",
2236+
"| cython | V | (V) | V | ahead of time |"
2237+
]
2238+
},
2239+
{
2240+
"cell_type": "code",
2241+
"execution_count": null,
2242+
"id": "c9a7d518",
2243+
"metadata": {},
2244+
"outputs": [],
2245+
"source": []
22202246
}
22212247
],
22222248
"metadata": {

0 commit comments

Comments
 (0)