Skip to content

Enum creation non-linear in the number of values #89580

Description

@olliemath
mannequin
BPO 45417
Nosy @warsaw, @arigo, @cfbolz, @ethanfurman, @mattip, @olliemath
PRs
  • bpo-45417: fix quadratic behaviour when creating an enum #28907
  • Files
  • huge.py: A single very large enum
  • quadratic-fix-2.diff
  • 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/ethanfurman'
    closed_at = None
    created_at = <Date 2021-10-08.23:52:33.688>
    labels = ['3.11', '3.10', 'performance']
    title = 'Enum creation non-linear in the number of values'
    updated_at = <Date 2021-10-15.16:07:46.518>
    user = 'https://github.com/olliemath'

    bugs.python.org fields:

    activity = <Date 2021-10-15.16:07:46.518>
    actor = 'ethan.furman'
    assignee = 'ethan.furman'
    closed = False
    closed_date = None
    closer = None
    components = []
    creation = <Date 2021-10-08.23:52:33.688>
    creator = 'olliemath'
    dependencies = []
    files = ['50332', '50341']
    hgrepos = []
    issue_num = 45417
    keywords = ['patch']
    message_count = 5.0
    messages = ['403512', '403585', '403592', '403751', '403947']
    nosy_count = 7.0
    nosy_names = ['barry', 'arigo', 'Carl.Friedrich.Bolz', 'eli.bendersky', 'ethan.furman', 'mattip', 'olliemath']
    pr_nums = ['28907']
    priority = 'normal'
    resolution = None
    stage = 'backport needed'
    status = 'open'
    superseder = None
    type = 'performance'
    url = 'https://bugs.python.org/issue45417'
    versions = ['Python 3.10', 'Python 3.11']

    Activity

    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

    Metadata

    Metadata

    Assignees

    Labels

    3.10only security fixes3.11only security fixesperformancePerformance or resource usage

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions