Open
Description
In general theme of better preallocation and in-place memory management.
One use is IIF.localProduct
in a DFG object. Consider if each of the factors already had their proposal locations (done with IIF.approxConv
) is already preallocated. That would allow for other things like scaling N
on a per variable basis. Any thoughts?
Currently proposals are done and allocated memory is discarded via either Stack or Heap. So this would be dedicated dynamic Heap memory to be used for computations. This idea is loosely related to <:FactorOperationalMemory
, but now for DFGVariables -- as used by factor computations.