Skip to content

speed up isinstance and issubclass for the usual cases #66730

@birkenfeld

Description

@birkenfeld
BPO 22540
Nosy @birkenfeld, @ncoghlan, @pitrou, @vstinner, @1st1
Files
  • pyobject_issubclass_isinstance_speedup.patch
  • pyobject_issubclass_isinstance_speedup_v2.patch
  • 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 2014-10-04.07:07:00.198>
    created_at = <Date 2014-10-02.11:39:12.578>
    labels = ['interpreter-core', 'performance']
    title = 'speed up isinstance and issubclass for the usual cases'
    updated_at = <Date 2014-10-04.07:07:00.198>
    user = 'https://github.com/birkenfeld'

    bugs.python.org fields:

    activity = <Date 2014-10-04.07:07:00.198>
    actor = 'georg.brandl'
    assignee = 'none'
    closed = True
    closed_date = <Date 2014-10-04.07:07:00.198>
    closer = 'georg.brandl'
    components = ['Interpreter Core']
    creation = <Date 2014-10-02.11:39:12.578>
    creator = 'georg.brandl'
    dependencies = []
    files = ['36781', '36789']
    hgrepos = []
    issue_num = 22540
    keywords = ['patch']
    message_count = 7.0
    messages = ['228218', '228306', '228308', '228311', '228313', '228317', '228339']
    nosy_count = 6.0
    nosy_names = ['georg.brandl', 'ncoghlan', 'pitrou', 'vstinner', 'python-dev', 'yselivanov']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = 'resolved'
    status = 'closed'
    superseder = None
    type = 'performance'
    url = 'https://bugs.python.org/issue22540'
    versions = ['Python 3.5']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      interpreter-core(Objects, Python, Grammar, and Parser dirs)performancePerformance or resource usage

      Projects

      No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions