Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

The DISPATCH() macro is not as efficient as it could be (move PyThreadState.use_tracing) #87926

Copy link
Copy link
@markshannon

Description

@markshannon
Issue body actions
BPO 43760
Nosy @gvanrossum, @rhettinger, @scoder, @vstinner, @encukou, @ambv, @markshannon, @hroncok, @pablogsal, @miss-islington, @erlend-aasland, @Xtrem532
PRs
  • bpo-43760: Streamline dispatch sequence for machines without computed gotos. #25244
  • bpo-43760: Speed up check for tracing in interpreter dispatch #25276
  • [3.10] bpo-43760: Ensure that older Cython generated code compiles under 3.10. #28474
  • [3.10] bpo-43760: Ensure that older Cython generated code compiles under 3.10 #28498
  • bpo-43760: Document PyThreadState.use_tracing removal #28527
  • [3.10] bpo-43760: Document PyThreadState.use_tracing removal (GH-28527) #28529
  • bpo-43760: Add PyThreadState_EnterTracing() #28542
  • bpo-43760: Check for tracing using 'bitwise or' instead of branch in dispatch. #28723
  • bpo-43760: Rename _PyThreadState_DisableTracing() #29032
  • 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-07.09:35:49.770>
    labels = ['interpreter-core', 'expert-C-API', '3.10', 'performance']
    title = 'The DISPATCH() macro is not as efficient as it could be (move PyThreadState.use_tracing)'
    updated_at = <Date 2021-11-08.17:16:37.213>
    user = 'https://github.com/markshannon'

    bugs.python.org fields:

    activity = <Date 2021-11-08.17:16:37.213>
    actor = 'vstinner'
    assignee = 'none'
    closed = False
    closed_date = None
    closer = None
    components = ['Interpreter Core', 'C API']
    creation = <Date 2021-04-07.09:35:49.770>
    creator = 'Mark.Shannon'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 43760
    keywords = ['patch']
    message_count = 46.0
    messages = ['390410', '390522', '390951', '393379', '393384', '393385', '393389', '393390', '393401', '393403', '393404', '393407', '393410', '393425', '393459', '393466', '393666', '402150', '402162', '402216', '402225', '402231', '402234', '402235', '402358', '402360', '402362', '402415', '402416', '402426', '402432', '402434', '402481', '402496', '402525', '402594', '402603', '403166', '403217', '404020', '404024', '404025', '404173', '404197', '404600', '405968']
    nosy_count = 13.0
    nosy_names = ['gvanrossum', 'rhettinger', 'jpe', 'scoder', 'vstinner', 'petr.viktorin', 'lukasz.langa', 'Mark.Shannon', 'hroncok', 'pablogsal', 'miss-islington', 'erlendaasland', 'Xtrem532']
    pr_nums = ['25244', '25276', '28474', '28498', '28527', '28529', '28542', '28723', '29032']
    priority = None
    resolution = None
    stage = 'patch review'
    status = 'open'
    superseder = None
    type = 'performance'
    url = 'https://bugs.python.org/issue43760'
    versions = ['Python 3.10']

    Reactions are currently unavailable

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.10only security fixesonly security fixesinterpreter-core(Objects, Python, Grammar, and Parser dirs)(Objects, Python, Grammar, and Parser dirs)pendingThe issue will be closed if no feedback is providedThe issue will be closed if no feedback is providedperformancePerformance or resource usagePerformance or resource usagetopic-C-API
      No fields configured for issues without a type.

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

        Morty Proxy This is a proxified and sanitized view of the page, visit original site.