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

Reduce memory usage of the block tally step #137

Open
GertjanBisschop opened this issue Apr 30, 2024 · 0 comments
Open

Reduce memory usage of the block tally step #137

GertjanBisschop opened this issue Apr 30, 2024 · 0 comments

Comments

@GertjanBisschop
Copy link
Member

Concatenating all blocks into a huge array prior to counting can lead to excessive memory usage, see #132.
Potential solutions (not mutually exclusive):

  1. Specify correct dtype instead of always using 64-bit integers.
  2. Use for loops over windows while tallying. This would allow us to skip having to allocate memory for the concatenated array entirely. Numba could be used to speed up the for loop if speed becomes an issue because of it.
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

No branches or pull requests

1 participant