Skip to content

Integer operations are inefficient for "medium" integers. #89109

Closed
@markshannon

Description

@markshannon
BPO 44946
Nosy @mdickinson, @vstinner, @markshannon, @xuxinhang
PRs
  • bpo-44946: Streamline operators and creation of ints for common case of single 'digit'. #27832
  • bpo-46055: Speed up binary shifting operators #30044
  • 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 = None
    closed_at = <Date 2021-08-26.15:09:37.280>
    created_at = <Date 2021-08-18.10:25:32.126>
    labels = ['interpreter-core', 'performance']
    title = 'Integer operations are inefficient for "medium" integers.'
    updated_at = <Date 2021-12-11.04:39:53.226>
    user = 'https://github.com/markshannon'

    bugs.python.org fields:

    activity = <Date 2021-12-11.04:39:53.226>
    actor = 'xuxinhang'
    assignee = 'none'
    closed = True
    closed_date = <Date 2021-08-26.15:09:37.280>
    closer = 'Mark.Shannon'
    components = ['Interpreter Core']
    creation = <Date 2021-08-18.10:25:32.126>
    creator = 'Mark.Shannon'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 44946
    keywords = ['patch']
    message_count = 5.0
    messages = ['399832', '399833', '399834', '399838', '400263']
    nosy_count = 4.0
    nosy_names = ['mark.dickinson', 'vstinner', 'Mark.Shannon', 'xuxinhang']
    pr_nums = ['27832', '30044']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'performance'
    url = 'https://bugs.python.org/issue44946'
    versions = []

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      interpreter-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