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
Currently, to avoid state, the main class copies the iterator on every invocation. This is very expensive memory-wise.
Grabbing inspiration from flupy is likely a good move.
I am most uncertain about how well we can replicate:
flatten
To decrease memory use, we can re-introduce the state by using generators. However, this creates a lot of non-functional behaviour. To separate this clearly, we might want to introduce ConsumableIter or similar.
The text was updated successfully, but these errors were encountered:
Currently, to avoid state, the main class copies the iterator on every invocation. This is very expensive memory-wise.
Grabbing inspiration from flupy is likely a good move.
I am most uncertain about how well we can replicate:
flatten
To decrease memory use, we can re-introduce the state by using generators. However, this creates a lot of non-functional behaviour. To separate this clearly, we might want to introduce
ConsumableIter
or similar.The text was updated successfully, but these errors were encountered: