Skip to content

Caching issue #12

@sbng

Description

@sbng

I have fairly long record to encode. However, whenever I turn on cache=True, I get erroneous results after a few encoding operations. The caches seems to be pointing to the wrong data. I workaround this issue by using the self.data_cache[value] instead of self.data_cache[id(value)]. I wonder there's any shortcoming using this approach? Thanks.

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