Skip to content

Regular expressions: (?:X|\s+)*$ takes a long time #57932

@ericp

Description

@ericp
mannequin
BPO 13723
Nosy @terryjreedy, @pitrou, @ezio-melotti, @alex
Superseder
  • bpo-1662581: the re module can perform poorly: O(2n) versus O(n2)
  • 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 2012-01-14.04:10:05.152>
    created_at = <Date 2012-01-06.21:43:55.594>
    labels = ['performance']
    title = 'Regular expressions: (?:X|\\s+)*$ takes a long time'
    updated_at = <Date 2012-11-07.17:43:13.934>
    user = 'https://bugs.python.org/ericp'

    bugs.python.org fields:

    activity = <Date 2012-11-07.17:43:13.934>
    actor = 'mark.dickinson'
    assignee = 'none'
    closed = True
    closed_date = <Date 2012-01-14.04:10:05.152>
    closer = 'terry.reedy'
    components = []
    creation = <Date 2012-01-06.21:43:55.594>
    creator = 'ericp'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 13723
    keywords = []
    message_count = 2.0
    messages = ['150770', '151221']
    nosy_count = 5.0
    nosy_names = ['terry.reedy', 'pitrou', 'ezio.melotti', 'alex', 'ericp']
    pr_nums = []
    priority = 'normal'
    resolution = 'wont fix'
    stage = None
    status = 'closed'
    superseder = '1662581'
    type = 'performance'
    url = 'https://bugs.python.org/issue13723'
    versions = ['Python 2.7']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      performancePerformance or resource usage
      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