Skip to content

Logically merge cell and locals array. They are already contiguous in memory #87859

Closed
@markshannon

Description

@markshannon
BPO 43693
Nosy @gvanrossum, @rhettinger, @ncoghlan, @markshannon, @ericsnowcurrently, @serhiy-storchaka, @gvanrossum, @pablogsal
PRs
  • bpo-43693: Compute deref offsets in compiler #25152
  • bpo-43693: Group the code in codeobject.c logically. #26216
  • bpo-43693: Add _PyCode_New() and do some related cleanup. #26258
  • bpo-43693: Clean up the PyCodeObject fields. #26364
  • bpo-43693: Add _PyCode_New(). #26375
  • bpo-43693: Add new internal code objects fields: co_fastlocalnames and co_fastlocalkinds. #26388
  • bpo-43693: Add the MAKE_CELL opcode and interleave fast locals offsets. #26396
  • bpo-43693: Revert commits 2c1e2583fdc4db6b43d163239ea42b0e8394171f and b2bf2bc1ece673d387341e06c8d3c2bc6e259747  #26530
  • bpo-43693: Un-revert commits 2c1e258 and b2bf2bc. #26577
  • bpo-43693: Eliminate unused "fast locals". #26587
  • bpo-43693: Silence some compiler warnings. #26588
  • Revert "bpo-43693: Add the MAKE_CELL opcode and interleave fast locals offsets. (gh-26396)" #26597
  • bpo-43693: Un-revert commit f3fa63e. #26609
  • bpo-43693: Do not check co_cell2arg if a non-cell offset. #26626
  • bpo-43693: Turn localspluskinds into an object #26749
  • bpo-43693 Get rid of CO_NOFREE -- it's unused #26839
  • 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 = None
    created_at = <Date 2021-04-01.11:33:50.457>
    labels = ['interpreter-core', 'performance']
    title = 'Logically merge cell and locals array. They are already contiguous in memory'
    updated_at = <Date 2021-07-21.18:07:49.033>
    user = 'https://github.com/markshannon'

    bugs.python.org fields:

    activity = <Date 2021-07-21.18:07:49.033>
    actor = 'gvanrossum'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Interpreter Core']
    creation = <Date 2021-04-01.11:33:50.457>
    creator = 'Mark.Shannon'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 43693
    keywords = ['patch']
    message_count = 32.0
    messages = ['389974', '390069', '390247', '390253', '394455', '394556', '395014', '395059', '395097', '395098', '395102', '395105', '395137', '395273', '395294', '395297', '395317', '395318', '395319', '395321', '395326', '395329', '395331', '395332', '395338', '395365', '395448', '395899', '396015', '396288', '396433', '397956']
    nosy_count = 8.0
    nosy_names = ['gvanrossum', 'rhettinger', 'ncoghlan', 'Mark.Shannon', 'eric.snow', 'serhiy.storchaka', 'Guido.van.Rossum', 'pablogsal']
    pr_nums = ['25152', '26216', '26258', '26364', '26375', '26388', '26396', '26530', '26577', '26587', '26588', '26597', '26609', '26626', '26749', '26839']
    priority = 'normal'
    resolution = None
    stage = 'needs patch'
    status = 'open'
    superseder = None
    type = 'performance'
    url = 'https://bugs.python.org/issue43693'
    versions = []

    Linked PRs

    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