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

ENH: PERF: calculate multiple calls simultaneously instead of looping #86

Open
mikofski opened this issue Aug 14, 2018 · 0 comments
Open

Comments

@mikofski
Copy link
Contributor

mikofski commented Aug 14, 2018

Problem: currently cells are calculated one at a time, lazily as needed. This works fine if only a few cells, but if a large array has a very large number of different cells then it is inefficient and slow

Proposal: turn off cell calculations by setting __calc_now__=False and wait until all the cell parameters are entered, then use numpy array broadcasting to calculate all the cells at the same time. If necessary, also try either numexpr, Cython, Numba, or Pythran to leverage SIMD and CPU cache.

@mikofski mikofski changed the title ENH: PERF: calculate multiple calls simultaneously instead of looking ENH: PERF: calculate multiple calls simultaneously instead of looping Aug 14, 2018
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