Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Labels
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Commits
Open sidebar
nexedi
cython
Commits
53d4eea0
Commit
53d4eea0
authored
Mar 11, 2018
by
scoder
Committed by
GitHub
Mar 11, 2018
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #2140 from gabrieldemarmiesse/memview_docs
Mention Typed Memoryviews in the Working with NumPy doc.
parents
f6b5a7b6
b312b6d7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
docs/src/tutorial/numpy.rst
docs/src/tutorial/numpy.rst
+6
-0
No files found.
docs/src/tutorial/numpy.rst
View file @
53d4eea0
...
@@ -2,6 +2,12 @@
...
@@ -2,6 +2,12 @@
Working with NumPy
Working with NumPy
=======================
=======================
.. NOTE:: In Cython 0.16, typed memoryviews were introduced.
They are easier to use than the numpy syntax, they are faster,
and don't need the GIL. They should be preferred to the
syntax presented in this page.
See :ref:`Typed Memoryviews <memoryviews>`.
You can use NumPy from Cython exactly the same as in regular Python, but by
You can use NumPy from Cython exactly the same as in regular Python, but by
doing so you are losing potentially high speedups because Cython has support
doing so you are losing potentially high speedups because Cython has support
for fast access to NumPy arrays. Let's see how this works with a simple
for fast access to NumPy arrays. Let's see how this works with a simple
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment