Skip to content

Reduce the number of comparisons for range checking. #67741

Description

@rhettinger
BPO23553
Nosy@rhettinger, @pitrou, @serhiy-storchaka
Files
  • size_t.diff: Fix deque casts
  • bounds_check_list.diff: Faster bounds checking for lists.
  • bounds_check_deque.diff: Faster bounds checking for deques
  • valid_index.diff: Isolate the technique in an in-lineable function call
  • 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=Noneclosed_at=Nonecreated_at=<Date2015-03-01.00:50:38.601>labels= ['interpreter-core', 'performance']
    title='Reduce the number of comparisons for range checking.'updated_at=<Date2015-03-02.04:13:50.021>user='https://github.com/rhettinger'

    bugs.python.org fields:

    activity=<Date2015-03-02.04:13:50.021>actor='rhettinger'assignee='none'closed=Falseclosed_date=Nonecloser=Nonecomponents= ['Interpreter Core']
    creation=<Date2015-03-01.00:50:38.601>creator='rhettinger'dependencies= []
    files= ['38281', '38282', '38283', '38293']
    hgrepos= []
    issue_num=23553keywords= ['patch']
    message_count=13.0messages= ['236928', '236931', '236933', '236934', '236935', '236938', '236939', '236940', '236942', '236945', '236946', '236948', '237011']
    nosy_count=5.0nosy_names= ['rhettinger', 'pitrou', 'Arfrever', 'python-dev', 'serhiy.storchaka']
    pr_nums= []
    priority='normal'resolution=Nonestage=Nonestatus='open'superseder=Nonetype='performance'url='https://bugs.python.org/issue23553'versions= ['Python 3.5']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      interpreter-core(Objects, Python, Grammar, and Parser dirs)pendingThe issue will be closed if no feedback is providedperformancePerformance or resource usage

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions