Skip to content

Speed up fractions implementation #66654

@scoder

Description

@scoder
BPO 22464
Nosy @birkenfeld, @rhettinger, @mdickinson, @scoder, @serhiy-storchaka
Files
  • special_case_int.patch: special case "int" values in the constructor
  • special_case_int2.patch: special case only exact "int" values in the constructor
  • special_case_int3.patch: same as before with a little twist in type check
  • special_case_int4.patch: same as before + faster "f == intval"
  • avoid_redundant_property_lookups.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-09-26.07:53:10.446>
    created_at = <Date 2014-09-22.17:37:14.731>
    labels = ['library', 'performance']
    title = 'Speed up fractions implementation'
    updated_at = <Date 2014-09-26.08:30:22.188>
    user = 'https://github.com/scoder'

    bugs.python.org fields:

    activity = <Date 2014-09-26.08:30:22.188>
    actor = 'serhiy.storchaka'
    assignee = 'none'
    closed = True
    closed_date = <Date 2014-09-26.07:53:10.446>
    closer = 'scoder'
    components = ['Library (Lib)']
    creation = <Date 2014-09-22.17:37:14.731>
    creator = 'scoder'
    dependencies = []
    files = ['36687', '36688', '36689', '36690', '36691']
    hgrepos = []
    issue_num = 22464
    keywords = ['patch']
    message_count = 18.0
    messages = ['227284', '227290', '227292', '227294', '227295', '227298', '227299', '227300', '227302', '227308', '227395', '227406', '227407', '227408', '227488', '227576', '227591', '227593']
    nosy_count = 6.0
    nosy_names = ['georg.brandl', 'rhettinger', 'mark.dickinson', 'scoder', 'python-dev', 'serhiy.storchaka']
    pr_nums = []
    priority = 'normal'
    resolution = 'fixed'
    stage = None
    status = 'closed'
    superseder = None
    type = 'performance'
    url = 'https://bugs.python.org/issue22464'
    versions = ['Python 3.5']

    Metadata

    Metadata

    Assignees

    No one assigned

      Labels

      performancePerformance 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