make a DList runnable, executing the computation and returning the values
make a DObject runnable, executing the computation and returning the values
Persisting
allow to call list.persist
allow to call object.persist
run a list.
run a list.
This is equivalent to:
val obj = list.materialise
run(obj)
This trait provides operations and implicit definitions to persist DLists and DObjects.
Generally
persist
on a DList or a DObject executes the computations but doesn't return any value whilerun
return values, triggering the computations if necessary (but not if persist has already been called)Several DLists and DObjects which are part of the same logical computation graph can be persisted jointly by calling
persist(objects and lists)