Skip to content

PDL::IO::Dumper frestore doesn't resolve duplicated ndarrays #508

@d-lamb

Description

@d-lamb

If one uses fdump to save a data structure that has identical ndarrays (or possibly other objects), then fdump will recognize this and save space in the output file by having the "first" ndarray that was written be referenced by the following ndarrays. This is great, but it presents a problem when using frestore, I think because it triggers "my variable %s masks earlier declaration in same scope" warnings. Simple example script attached.
dumper_collision.pdl.txt

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions