Skip to content

Use PEP 590 vectorcall to speed up calls to bool() #86036

@corona10

Description

@corona10
BPO 41870
Nosy @vstinner, @markshannon, @corona10, @pablogsal
PRs
  • bpo-41870: Use PEP 590 vectorcall to speed up bool()  #22427
  • bpo-41870: Avoid the test when nargs=0 #22462
  • bpo-41870: Update What's News 3.10 about vectorcall #25219
  • Files
  • bench_bool.py
  • Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

    Show more details

    GitHub fields:

    assignee = 'https://github.com/corona10'
    closed_at = <Date 2020-10-01.04:52:35.737>
    created_at = <Date 2020-09-27.13:20:58.342>
    labels = ['interpreter-core', '3.10', 'performance']
    title = 'Use PEP 590 vectorcall to speed up calls to bool()'
    updated_at = <Date 2021-04-06.15:44:07.015>
    user = 'https://github.com/corona10'

    bugs.python.org fields:

    activity = <Date 2021-04-06.15:44:07.015>
    actor = 'corona10'
    assignee = 'corona10'
    closed = True
    closed_date = <Date 2020-10-01.04:52:35.737>
    closer = 'corona10'
    components = ['Interpreter Core']
    creation = <Date 2020-09-27.13:20:58.342>
    creator = 'corona10'
    dependencies = []
    files = ['49475']
    hgrepos = []
    issue_num = 41870
    keywords = ['patch']
    message_count = 9.0
    messages = ['377565', '377605', '377606', '377613', '377686', '377735', '377736', '390341', '390347']
    nosy_count = 4.0
    nosy_names = ['vstinner', 'Mark.Shannon', 'corona10', 'pablogsal']
    pr_nums = ['22427', '22462', '25219']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'performance'
    url = 'https://bugs.python.org/issue41870'
    versions = ['Python 3.10']

    Metadata

    Metadata

    Assignees

    Labels

    3.10only security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)performancePerformance or resource usage

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions