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
Boxiang Sun
cython
Commits
4e1e5440
Commit
4e1e5440
authored
Mar 06, 2013
by
Robert Bradshaw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Document drawbacks of excessive typing.
parent
e896d20f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
docs/src/quickstart/cythonize.rst
docs/src/quickstart/cythonize.rst
+3
-1
No files found.
docs/src/quickstart/cythonize.rst
View file @
4e1e5440
...
@@ -109,7 +109,9 @@ Determining where to add types
...
@@ -109,7 +109,9 @@ Determining where to add types
Because static typing is often the key to large speed gains, beginners
Because static typing is often the key to large speed gains, beginners
often have a tendency to type everything in sight. This cuts down on both
often have a tendency to type everything in sight. This cuts down on both
readability and flexibility. On the other hand, it is easy to kill
readability and flexibility, and can even slow things down (e.g. by adding
unnecessary type checks, conversions, or slow buffer unpacking).
On the other hand, it is easy to kill
performance by forgetting to type a critical loop variable. Two essential
performance by forgetting to type a critical loop variable. Two essential
tools to help with this task are profiling and annotation.
tools to help with this task are profiling and annotation.
Profiling should be the first step of any optimization effort, and can
Profiling should be the first step of any optimization effort, and can
...
...
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