Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • C cython
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 0
    • Issues 0
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Boxiang Sun
  • cython
  • Repository
  • cython
  • Cython
  • Compiler
  • ModuleNode.py
Find file BlameHistoryPermalink
  • Robert Bradshaw's avatar
    Interned integer constants, created at module load time. · 9c1bf4c5
    Robert Bradshaw authored Oct 11, 2007
    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.
    9c1bf4c5
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7