Thanks to visit codestin.com
Credit goes to github.com

Skip to content

LASSIS memory management #90

@MatthewRHermes

Description

@MatthewRHermes

Overall, LASSIS does not have good memory management, because of the ad hoc way it was put together.

In LASSIS, the same fragment basis functions appears at multiple rootspace addresses, and to save memory one can just make a view instead of a copy. However, right at the end of lassis.prepare_states, this line

spaces = _spin_shuffle_ci_(spaces)

throws it all away because spaces._spin_shuffle_ci_ was written conservatively to combine multiple possibly non-orthogonal spin-shuffle references, which requires making copies and not references.

Metadata

Metadata

Assignees

No one assigned

    Labels

    scalabilityCode works for small problems but not for large problems

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions