Skip to content

Implement vectorcall for BaseException to optimize creation of exception instances #118702

Closed

Description

@vstinner

Currently, creating an instance of an built-in exception uses the old METH_VARARGS calling convention which creates a temporary tuple to pass positional arguments.

I propose to implement vectorcall for BaseException.

Linked PRs

Activity

  1. added 4 commits that reference this issue on May 7, 2024
  2. added a commit that references this issue on Jul 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    performancePerformance or resource usage

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions