Skip to content

Accelerate 'string' % (value, ...) by using formatted string literals #72494

@serhiy-storchaka

Description

@serhiy-storchaka
BPO 28307
Nosy @vstinner, @taleinat, @ericvsmith, @markshannon, @serhiy-storchaka, @ztane, @brandtbucher
PRs
  • bpo-28307: Convert simple C-style formatting with literal format into f-string. #5012
  • bpo-28307: Optimize C-style formatting of numbers #26160
  • bpo-28307: Tests and fixes for optimization of C-style formatting #26318
  • Dependencies
  • bpo-11549: Build-out an AST optimizer, moving some functionality out of the peephole optimizer
  • 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/serhiy-storchaka'
    closed_at = None
    created_at = <Date 2016-09-29.08:49:56.387>
    labels = ['interpreter-core', '3.11', 'performance']
    title = "Accelerate 'string' % (value, ...) by using formatted string literals"
    updated_at = <Date 2021-09-22.13:56:33.450>
    user = 'https://github.com/serhiy-storchaka'

    bugs.python.org fields:

    activity = <Date 2021-09-22.13:56:33.450>
    actor = 'vstinner'
    assignee = 'serhiy.storchaka'
    closed = False
    closed_date = None
    closer = None
    components = ['Interpreter Core']
    creation = <Date 2016-09-29.08:49:56.387>
    creator = 'serhiy.storchaka'
    dependencies = ['11549']
    files = []
    hgrepos = []
    issue_num = 28307
    keywords = ['patch']
    message_count = 9.0
    messages = ['277688', '277694', '277700', '277702', '277703', '309049', '324795', '393740', '402436']
    nosy_count = 7.0
    nosy_names = ['vstinner', 'taleinat', 'eric.smith', 'Mark.Shannon', 'serhiy.storchaka', 'ztane', 'brandtbucher']
    pr_nums = ['5012', '26160', '26318']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'performance'
    url = 'https://bugs.python.org/issue28307'
    versions = ['Python 3.11']

    Metadata

    Metadata

    Labels

    3.11only security fixes3.12only 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