Skip to content

Use a more principled approach to freelists #89738

Description

@markshannon
BPO 45575
Nosy @markshannon
PRs
  • bpo-45575: Use a less ad-hoc approach to freelists, and use them for int and float freelists. #29165
  • 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/markshannon'
    closed_at = None
    created_at = <Date 2021-10-22.16:20:28.637>
    labels = ['interpreter-core', '3.11', 'performance']
    title = 'Use a more principled approach to freelists'
    updated_at = <Date 2021-10-22.16:21:16.097>
    user = 'https://github.com/markshannon'

    bugs.python.org fields:

    activity = <Date 2021-10-22.16:21:16.097>
    actor = 'Mark.Shannon'
    assignee = 'Mark.Shannon'
    closed = False
    closed_date = None
    closer = None
    components = ['Interpreter Core']
    creation = <Date 2021-10-22.16:20:28.637>
    creator = 'Mark.Shannon'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 45575
    keywords = ['patch']
    message_count = 1.0
    messages = ['404788']
    nosy_count = 1.0
    nosy_names = ['Mark.Shannon']
    pr_nums = ['29165']
    priority = 'normal'
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'performance'
    url = 'https://bugs.python.org/issue45575'
    versions = ['Python 3.11']

    Activity

    1. markshannon commented on Oct 22, 2021

      @markshannon
      MemberAuthor

      We have multiple freelists for performance, but they are adhoc and poorly integrated with the underlying allocator.

      Improving this should give us a decent speedup.

    2. self-assigned this
      on Oct 22, 2021
    3. added
      interpreter-core(Objects, Python, Grammar, and Parser dirs)
      performancePerformance or resource usage
      3.11only security fixes
      on Oct 22, 2021
    4. self-assigned this
      on Oct 22, 2021
    5. transferred this issue fromon Apr 10, 2022
    6. iritkatriel commented on Sep 10, 2022

      @iritkatriel
      Member

      @markshannon you closed the PR. Did you intend to leave this issue open?

    7. added
      pendingThe issue will be closed if no feedback is provided
      on Sep 10, 2022
    8. iritkatriel commented on Jan 31, 2023

      @iritkatriel
      Member

      Duplicate of #100240.

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

    Metadata

    Metadata

    Assignees

    Labels

    3.11only security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)pendingThe issue will be closed if no feedback is providedperformancePerformance or resource usage

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions