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
f6cef1f3
Commit
f6cef1f3
authored
Feb 15, 2019
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix left-over Pyrex reference.
parent
d4ce52c0
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
docs/src/userguide/early_binding_for_speed.rst
docs/src/userguide/early_binding_for_speed.rst
+1
-1
No files found.
docs/src/userguide/early_binding_for_speed.rst
View file @
f6cef1f3
...
@@ -55,7 +55,7 @@ efficiently callable as a C function, but still accessible from pure Python
...
@@ -55,7 +55,7 @@ efficiently callable as a C function, but still accessible from pure Python
If within Cython code, we have a variable already 'early-bound' (ie, declared
If within Cython code, we have a variable already 'early-bound' (ie, declared
explicitly as type Rectangle, (or cast to type Rectangle), then invoking its
explicitly as type Rectangle, (or cast to type Rectangle), then invoking its
area method will use the efficient C code path and skip the Python overhead.
area method will use the efficient C code path and skip the Python overhead.
But if in
Pyrex
or regular Python code we have a regular object variable
But if in
Cython
or regular Python code we have a regular object variable
storing a Rectangle object, then invoking the area method will require:
storing a Rectangle object, then invoking the area method will require:
* an attribute lookup for the area method
* an attribute lookup for the area method
...
...
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