Skip to content

support._match_test() used by test.bisect is very inefficient #75505

@vstinner

Description

@vstinner
BPO 31324
Nosy @vstinner, @serhiy-storchaka, @mlouielu
PRs
  • bpo-31324: Optimize support._match_test(). #4420
  • bpo-31324: Optimize support._match_test() #4421
  • bpo-31324: Fix test.support.set_match_tests(None) #4505
  • [3.6] bpo-31324: Optimize support._match_test() #4523
  • [2.7] bpo-31324: Optimize support._match_test() (#4523) #4524
  • 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 = <Date 2017-11-21.23:38:18.502>
    created_at = <Date 2017-09-01.15:11:02.069>
    labels = ['3.7']
    title = 'support._match_test() used by test.bisect is very inefficient'
    updated_at = <Date 2017-11-23.17:36:02.814>
    user = 'https://github.com/vstinner'

    bugs.python.org fields:

    activity = <Date 2017-11-23.17:36:02.814>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2017-11-21.23:38:18.502>
    closer = 'vstinner'
    components = []
    creation = <Date 2017-09-01.15:11:02.069>
    creator = 'vstinner'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 31324
    keywords = ['patch']
    message_count = 19.0
    messages = ['301122', '301123', '301126', '301128', '301129', '301140', '306362', '306363', '306382', '306387', '306640', '306666', '306693', '306694', '306743', '306756', '306839', '306849', '306850']
    nosy_count = 3.0
    nosy_names = ['vstinner', 'serhiy.storchaka', 'louielu']
    pr_nums = ['4420', '4421', '4505', '4523', '4524']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = None
    url = 'https://bugs.python.org/issue31324'
    versions = ['Python 3.7']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions