[racket] Using Futures
(Nothing about futures. But may I recommend a nice and simple 'optimization':
(cond
[(= 1 (length values)) ...]
adds quite some complexity to a recursive function over a list.
I'd use
(empty? (rest values))
instead.
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