Skip to content

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

Description

@mikofski

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions