Interned integer constants, created at module load time.
authorRobert Bradshaw <robertwb@math.washington.edu>
Thu, 11 Oct 2007 08:33:28 +0000 (01:33 -0700)
committerRobert Bradshaw <robertwb@math.washington.edu>
Thu, 11 Oct 2007 08:33:28 +0000 (01:33 -0700)
commit9c1bf4c52dd1dbb466e0683997759832bf3b0633
treec42b40a8bfa4aeb6af88026c34679c25514fecc4
parentcbcbdc0cd8faa9f40e016fd09620dd8db33d7e8d
Interned integer constants, created at module load time.

For example, in the SAGE source we have

1158 PyInt_FromLong(0)
 776 PyInt_FromLong(1)
 258 PyInt_FromLong(2)
  33 PyInt_FromLong(3)
  21 PyInt_FromLong(10)

and a thousand or so others... Who knows how many of these are in loops too.
Cython/Compiler/ExprNodes.py
Cython/Compiler/ModuleNode.py
Cython/Compiler/Naming.py
Cython/Compiler/Nodes.py
Cython/Compiler/Symtab.py