Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

efficiency of structure.pairwise #42

Closed
bmcfee opened this issue Apr 17, 2014 · 0 comments
Closed

efficiency of structure.pairwise #42

bmcfee opened this issue Apr 17, 2014 · 0 comments
Assignees
Milestone

Comments

@bmcfee
Copy link
Collaborator

bmcfee commented Apr 17, 2014

structure.pairwise currently uses np.triu_indices to find all unique pairs of frames and evaluate their agreement. It turns out that this is woefully inefficient in memory, as np.triu_indices constructs an intermediate (int64) masking matrix.

This should be replaced with a more direct implementation with leaner memory requirements.

@bmcfee bmcfee added this to the 0.0.1 milestone Apr 17, 2014
@bmcfee bmcfee self-assigned this Apr 17, 2014
@bmcfee bmcfee closed this as completed in a490a1e Apr 17, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant