Dan Sugalski <[EMAIL PROTECTED]> wrote: > At 6:46 PM +0200 7/20/04, Leopold Toetsch wrote:
>>I forgot that in my proposal. Subroutine PMCs need duplication for >>new threads. > That doesn't work for closures, which can be shared across threads in > a pool. We don't have shared closures. We don't have thread pools. Not in any thread papers here on the list. "We dont't optimize for threads" - Dan. Can you please elaborate a bit more on that issue. And why these closures need to be shared. > ... Also, in the face of continuations the cache is useful > exactly *once* No. The whole frame is the continuation. Its holding exactly the interpreter state at the time of calling into the sub. Including registers, which makes register preserving obsolete. leo