Skip to content

Use functools #206

@jpstroop

Description

@jpstroop

Specifically: @cached_property, for memoization (instead of this pattern, which is all over the place) and @lru_cache probably on #extract() instead of our cache implementation.

Note that where metaclasses are used, we probably need to combine @property and @cache as explained in the @cached_property docs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions