bug#39361: continuation and gc performance
Ludovic Courtès <[email protected]>
| Newsgroups | gmane.lisp.guile.bugs |
|---|---|
| Message-ID | <[email protected]> |
Hi, Stefan Israelsson Tampe <[email protected]> skribis: > That function marks the working stack no, what about stack segments in > continuations will they be marked correctly as well? Oh you’re right, from a quick look at continuations.c, a continuation’s stack appears to be conservatively scanned (allocated with ‘scm_gc_malloc’). My intuition is that it’s “good enough” in most cases, but could affect GC performance a tiny bit in continuation-heavy code, such as Fibers. Ludo’.