Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
  • Register
  • Sign in
  • C cpython
  • 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
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • Kirill Smelkov
  • cpython
  • Repository
  • cpython
  • Objects
  • call.c
Find file BlameHistoryPermalink
  • Michael J. Sullivan's avatar
    bpo-37017: PyObject_CallMethodObjArgs uses LOAD_METHOD optimization (GH-13516) · 47dd2f9f
    Michael J. Sullivan authored May 26, 2019
    Update PyObject_CallMethodObjArgs and _PyObject_CallMethodIdObjArgs
    to use _PyObject_GetMethod to avoid creating a bound method object
    in many cases.
    
    On a microbenchmark of PyObject_CallMethodObjArgs calling a method on
    an interpreted Python class, this optimization resulted in a 1.7x
    speedup.
    47dd2f9f
GitLab Nexedi Edition | About GitLab | About Nexedi | 沪ICP备2021021310号-2 | 沪ICP备2021021310号-7