Skip to content

dict: Use smaller entry for Unicode-key only dict. #91001

@methane

Description

@methane
BPO 46845
Nosy @rhettinger, @terryjreedy, @methane, @markshannon
PRs
  • bpo-46845: Reduce dict size when all keys are Unicode. #31564
  • bpo-46845: Move check for str-only keys in LOAD_GLOBAL to specialization time. #31659
  • 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 2022-03-01.23:10:28.750>
    created_at = <Date 2022-02-24.07:40:55.587>
    labels = ['interpreter-core', '3.11', 'performance']
    title = 'dict: Use smaller entry for Unicode-key only dict.'
    updated_at = <Date 2022-03-03.14:10:01.042>
    user = 'https://github.com/methane'

    bugs.python.org fields:

    activity = <Date 2022-03-03.14:10:01.042>
    actor = 'Mark.Shannon'
    assignee = 'none'
    closed = True
    closed_date = <Date 2022-03-01.23:10:28.750>
    closer = 'methane'
    components = ['Interpreter Core']
    creation = <Date 2022-02-24.07:40:55.587>
    creator = 'methane'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 46845
    keywords = ['patch']
    message_count = 6.0
    messages = ['413892', '414040', '414045', '414091', '414135', '414317']
    nosy_count = 4.0
    nosy_names = ['rhettinger', 'terry.reedy', 'methane', 'Mark.Shannon']
    pr_nums = ['31564', '31659']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'performance'
    url = 'https://bugs.python.org/issue46845'
    versions = ['Python 3.11']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.11only 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