> x <- 101:200
## Create implicit futures
> a %<-% slow_sum(x[1:50])
> b %<-% slow_sum(x[51:100])
## Get their values
> y <- a + b
> y
[1] 15050
|
> x <- 101:200
## Create explicit futures
> f <- future( slow_sum(x[1:50]) )
> g <- future( slow_sum(x[51:100]) )
## Get their values
> y <- value(f) + value(g)
> y
[1] 15050
|