Content-Length: 284024 | pFad | https://github.com/python/cpython/issues/146558

11 JIT optimize dict access with consts with known hash · Issue #146558 · python/cpython · GitHub
Skip to content

JIT optimize dict access with consts with known hash #146558

@kumaraditya303

Description

@kumaraditya303

Currently the JIT does not optimizes dict accesses with ints, strs and other objects whose hash can be pre-computed. The JIT can take advantage of pre-computed hashes to speed up dict lookups.

See the PR for more details.

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    interpreter-core(Objects, Python, Grammar, and Parser dirs)performancePerformance or resource usagetopic-JITtype-featureA feature request or enhancement

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions









      ApplySandwichStrip

      pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


      --- a PPN by Garber Painting Akron. With Image Size Reduction included!

      Fetched URL: https://github.com/python/cpython/issues/146558

      Alternative Proxies:

      Alternative Proxy

      pFad Proxy

      pFad v3 Proxy

      pFad v4 Proxy