Skip to content

Optimize pickled representation through a custom __getstate__ #35

@cgc

Description

@cgc

The pickled representation of a TabularMDP instance can get pretty hefty. We might want to consider a strategy where we have a custom __getstate__ to filter out cached properties (maybe like this blog post?). Might be worth refactoring or cleaning up method_cache to make sure it interoperates well with this.

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