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
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Gwenaël Samain
cython
Commits
6ffb9989
Commit
6ffb9989
authored
Feb 19, 2019
by
Stefan Behnel
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '0.29.x'
parents
4927e0e9
34e01e6c
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
1 deletion
+5
-1
CHANGES.rst
CHANGES.rst
+4
-0
docs/src/userguide/early_binding_for_speed.rst
docs/src/userguide/early_binding_for_speed.rst
+1
-1
No files found.
CHANGES.rst
View file @
6ffb9989
...
@@ -111,6 +111,10 @@ Bugs fixed
...
@@ -111,6 +111,10 @@ Bugs fixed
*
Avoid
a
C
#
pragma
in
old
gcc
versions
that
was
only
added
in
GCC
4.6
.
*
Avoid
a
C
#
pragma
in
old
gcc
versions
that
was
only
added
in
GCC
4.6
.
Patch
by
Michael
Anselmi
.
(
Github
issue
#
2838
)
Patch
by
Michael
Anselmi
.
(
Github
issue
#
2838
)
*
Auto
-
encoding
of
Unicode
strings
to
UTF
-
8
C
/
C
++
strings
failed
in
Python
3
,
even
though
the
default
encoding
there
is
UTF
-
8.
(
Github
issue
#
2819
)
0.29.5
(
2019
-
02
-
09
)
0.29.5
(
2019
-
02
-
09
)
===================
===================
...
...
docs/src/userguide/early_binding_for_speed.rst
View file @
6ffb9989
...
@@ -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