python / python/cpython

micro-optimization: increase our float parsing speed by Nx

Open
#85,482 8 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

interpreter-core performance type-feature
Dominant language
Python
Stars
77.2k
Forks
36k
PR merge metrics
PR metrics pending

Description

BPO 41310
Nosy @tim-one, @rhettinger, @gpshead, @mdickinson, @pitrou, @ericvsmith, @serhiy-storchaka

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 = None
created_at = <Date 2020-07-15.22:21:55.444>
labels = ['interpreter-core', 'type-feature', '3.10']
title = 'micro-optimization: increase our float parsing speed by Nx'
updated_at = <Date 2020-10-19.17:27:20.343>
user = 'https://github.com/gpshead'

bugs.python.org fields:

activity = <Date 2020-10-19.17:27:20.343>
actor = 'pitrou'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Interpreter Core']
creation = <Date 2020-07-15.22:21:55.444>
creator = 'gregory.p.smith'
dependencies = []
files = []
hgrepos = []
issue_num = 41310
keywords = []
message_count = 6.0
messages = ['373730', '373743', '373760', '373769', '373775', '378969']
nosy_count = 7.0
nosy_names = ['tim.peters', 'rhettinger', 'gregory.p.smith', 'mark.dickinson', 'pitrou', 'eric.smith', 'serhiy.storchaka']
pr_nums = []
priority = 'low'
resolution = None
stage = 'needs patch'
status = 'open'
superseder = None
type = 'enhancement'
url = 'https://bugs.python.org/issue41310'
versions = ['Python 3.10']

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

No source file, test, or entry point is named. Start by locating the interpreter's float-parsing implementation and its performance tests, then establish a baseline and determine what speedup is intended; done means a measured improvement with existing parsing behavior and tests preserved.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
backend, performance
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.