Skip to content

Use broadcast_to to minimize memory for empty placeholder in saving (closes #77)

Klaus Zimmermann requested to merge a002160/midas:reduce-saving-memory into master

This avoids the excessive memory requirements described in #77 (closed) by exploiting numpy views. Instead of allocating and zeroing a memory block equivalent to the final result, we now only use one timestep of the final result, creating the larger block only as a view into this much smaller allocation.

Merge request reports