Skip to content

Shift to using unsorted problem files with Python 3.6 and later #677

Closed
@whart222

Description

@whart222

Sorting indices is probably not the biggest performance issue when writing problem files, but it's an obvious one. With PyPy and CPython 3.6 and later, we can assume that dictionary keys are ordered. Hence, we can create deterministic problem files without sorting.

I suggest that we use sorted representations for 3.5 and earlier, and unsorted for 3.6 and later. The only real challenge with this involves testing, and it will likely require two sets of baselines.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions