Skip to content

Use smaller integer types in numpy array#10

Open
snewb wants to merge 1 commit intoclicumu:masterfrom
snewb:master
Open

Use smaller integer types in numpy array#10
snewb wants to merge 1 commit intoclicumu:masterfrom
snewb:master

Conversation

@snewb
Copy link
Copy Markdown

@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
Copy Markdown

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