"fastfib" in the gf package faster than "fib"



On Fri, Jul 18, 2008 at 9:38 PM, Richard Hennessy <rvh2007 at comcast.net>
wrote:

> It would be nice if operators and functions "thread" over lists.
>  Mathematica I think does this, at least they claim to without defining
> "thread over a list".  I think they mean one thread is created for each
> element in the list.


Threading in Mathematica<http://documents.wolfram.com/mathematica/functions/Thread>has
nothing to do with threading in the operating system sense.
RTFM <http://en.wikipedia.org/wiki/RTFM>;

Threading is just an inside-out sort of map function, where f({a,b}) => {
f(a), f(b) }

And yes, map, makelist, etc. etc. have a natural parallel structure (as long
as there are no side-effects). Taking advantage of it is another matter....

              -s