You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
The text was updated successfully, but these errors were encountered:
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
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.The text was updated successfully, but these errors were encountered: