Skip to content

IntFlag makes re.compile slower #75852

@methane

Description

@methane
BPO 31671
Nosy @gvanrossum, @warsaw, @rhettinger, @vstinner, @methane, @ethanfurman, @serhiy-storchaka
PRs
  • bpo-31671: re: Convert RegexFlag to int before compile #3862
  • bpo-31671: re.compile() cache checks flags type #3867
  • 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-10-05.08:20:18.804>
    created_at = <Date 2017-10-03.11:00:30.826>
    labels = ['3.7', 'library', 'performance']
    title = 'IntFlag makes re.compile slower'
    updated_at = <Date 2017-10-05.10:18:23.889>
    user = 'https://github.com/methane'

    bugs.python.org fields:

    activity = <Date 2017-10-05.10:18:23.889>
    actor = 'vstinner'
    assignee = 'none'
    closed = True
    closed_date = <Date 2017-10-05.08:20:18.804>
    closer = 'methane'
    components = ['Library (Lib)']
    creation = <Date 2017-10-03.11:00:30.826>
    creator = 'methane'
    dependencies = []
    files = []
    hgrepos = []
    issue_num = 31671
    keywords = ['patch']
    message_count = 29.0
    messages = ['303594', '303601', '303603', '303605', '303607', '303609', '303610', '303617', '303626', '303666', '303667', '303679', '303681', '303684', '303687', '303688', '303690', '303691', '303706', '303732', '303737', '303740', '303746', '303747', '303749', '303750', '303753', '303754', '303756']
    nosy_count = 7.0
    nosy_names = ['gvanrossum', 'barry', 'rhettinger', 'vstinner', 'methane', 'ethan.furman', 'serhiy.storchaka']
    pr_nums = ['3862', '3867']
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'performance'
    url = 'https://bugs.python.org/issue31671'
    versions = ['Python 3.7']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      3.7 (EOL)end of lifeperformancePerformance or resource usagestdlibStandard Library Python modules in the Lib/ directory

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions