[racket] Using Futures

From: Matthias Felleisen (matthias at ccs.neu.edu)
Date: Wed Jul 28 16:44:21 EDT 2010

(Nothing about futures. But may I recommend a nice and simple 'optimization': 

    [(= 1 (length values)) ...]

adds quite some complexity to a recursive function over a list. 
I'd use 

  (empty? (rest values))


Also, I assume that you will protect your function with a 
contract or a main function. 

-- Matthias)

On Jul 28, 2010, at 4:35 PM, Joe Snikeris wrote:

> All,
> Please see: http://pastie.org/1064484
> Apparently, spawning futures recursively is a bad idea.  This problem
> seems like it should be easily parallelizable.  What am I doing wrong
> here?
> Thanks,
> Joe
> _________________________________________________
>  For list-related administrative tasks:
>  http://lists.racket-lang.org/listinfo/users

Posted on the users mailing list.