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
However, in some use case, it would be nice to be able to discard all previously objects when those are no longer needed.
fut=client.submit(function, args)
fut.result()
client.clear_objects()
fut.result() # raises an exception, the future is no longer validfut=client.submit(function_2, args_2)
fut.result()
This would particularly speedup Parfun, as the library is creating more clients than required to avoid memory leaks.
The text was updated successfully, but these errors were encountered:
Objects' lifetimes match the client's lifetime.
However, in some use case, it would be nice to be able to discard all previously objects when those are no longer needed.
This would particularly speedup Parfun, as the library is creating more clients than required to avoid memory leaks.
The text was updated successfully, but these errors were encountered: