[r6rs-discuss] [Formal] SRFI-39 should be made an R6RS library

R. Kent Dybvig dyb at cs.indiana.edu
Wed Feb 21 14:19:06 EST 2007


> I've got an operational question: The description seems to indicate
> that the sheer presence of a parameter leads to the allocation of
> storage in each thread, whether the thread accesses the parameter or
> not.  Does this mean that, the more live parameters there are in the
> system, the more expensive threads become?

In implementation, yes.  But my thread system is based on pthreads, and
you'd have to have quite a few parameters to notice the difference in
thread-creation or memory overhead.  Applications don't typically use
very many thread parameters in any case.

Kent



More information about the r6rs-discuss mailing list