Skip to content

Use a more principled approach to freelists #89738

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
markshannon opened this issue Oct 22, 2021 · 3 comments
Closed

Use a more principled approach to freelists #89738

markshannon opened this issue Oct 22, 2021 · 3 comments
Assignees
Labels
3.11 only security fixes interpreter-core (Objects, Python, Grammar, and Parser dirs) pending The issue will be closed if no feedback is provided performance Performance or resource usage

Comments

@markshannon
Copy link
Member

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']

    @markshannon
    Copy link
    Member Author

    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.

    @markshannon markshannon added the 3.11 only security fixes label Oct 22, 2021
    @markshannon markshannon self-assigned this Oct 22, 2021
    @markshannon markshannon added interpreter-core (Objects, Python, Grammar, and Parser dirs) performance Performance or resource usage 3.11 only security fixes labels Oct 22, 2021
    @markshannon markshannon self-assigned this Oct 22, 2021
    @markshannon markshannon added interpreter-core (Objects, Python, Grammar, and Parser dirs) performance Performance or resource usage labels Oct 22, 2021
    @ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
    @iritkatriel
    Copy link
    Member

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

    @iritkatriel iritkatriel added the pending The issue will be closed if no feedback is provided label Sep 10, 2022
    @iritkatriel
    Copy link
    Member

    Duplicate of #100240.

    @iritkatriel iritkatriel closed this as not planned Won't fix, can't repro, duplicate, stale Jan 31, 2023
    Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
    Labels
    3.11 only security fixes interpreter-core (Objects, Python, Grammar, and Parser dirs) pending The issue will be closed if no feedback is provided performance Performance or resource usage
    Projects
    None yet
    Development

    No branches or pull requests

    2 participants