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