diff options
| author | gabrieldemarmiesse <gabriel.demarmiesse@teraki.com> | 2018-06-23 18:14:07 +0200 |
|---|---|---|
| committer | gabrieldemarmiesse <gabriel.demarmiesse@teraki.com> | 2018-06-23 18:14:07 +0200 |
| commit | 46bbda13c757a4c90157c4e72435a1f6a15e28df (patch) | |
| tree | 6b21a348b48e9dbeca023e0b291346ccba6a54b3 /docs/examples/tutorial/profiling_tutorial | |
| parent | 084a25f55d0b4cf8b4c3cd496ec57bb3e2f57f71 (diff) | |
| download | cython-46bbda13c757a4c90157c4e72435a1f6a15e28df.tar.gz | |
moved a small example from the "profiling tutorial" to the examples directory.
Diffstat (limited to 'docs/examples/tutorial/profiling_tutorial')
| -rw-r--r-- | docs/examples/tutorial/profiling_tutorial/often_called.pyx | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/docs/examples/tutorial/profiling_tutorial/often_called.pyx b/docs/examples/tutorial/profiling_tutorial/often_called.pyx new file mode 100644 index 000000000..77c689c9c --- /dev/null +++ b/docs/examples/tutorial/profiling_tutorial/often_called.pyx @@ -0,0 +1,5 @@ +cimport cython
+
+@cython.profile(False)
+def my_often_called_function():
+ pass
|
