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

Use smaller integer types in numpy array #10

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

snewb
Copy link

@snewb snewb commented May 9, 2019

Rather than using the default int64 datatype, calculate smallest needed and make use of smaller C integer types to save memory.

Rather than using the default int64 datatype, calculate smallest needed and make use of smaller C integer types to save memory.
@RickardSjogren
Copy link

Sorry for late response. It was a while ago since I implemented the GSD so I don't recall how big the orthogonal matrices are. Have you tested this properly so we don't run into any integer overflows?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants