Skip to content

Improve performance of json.loads and json.load for numeric data #150638

@eendebakpt

Description

@eendebakpt

Feature or enhancement

Proposal:

We can improve performance by adding fast paths for the common cases (ints with < 20 digits, floats with < 64 digits).

Has this already been discussed elsewhere?

No response given

Links to previous discussion of this feature:

No response

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

    performancePerformance or resource usagestdlibStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancement
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions