Skip to content

Cache corrections #347

Description

@ikrommyd

We could add caching of corrections so that they are not parsed a second time. Users will often re-read the same correction multiple time or the same correction when processing different chunks on the same worker without the python interpreter exiting. We can save time and avoid reparsing the jsons by simply adding a cache on all the loading functions. It can be done at the python level, like a simple lru cache.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    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