This is the mail archive of the guile@cygnus.com mailing list for the guile project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Hi, I don't understand the purpose of the weak_symhash table. When something like `(define hugo 12)' is entered, the symbol `hugo' is interned in the weak symhash table. Since nothing prevents `hugo' from being garbage collected, this symbol may or may not exist, when the evaluator is called, no? Well, let's assume the symbol is still there. The evaluator then calls `sym2vcell', which copies `hugo' from the weak symhash to the symhash table. But what if the symbol has been garbage collected so that `sym2vcell' fails and the evaluator can't give it is value? Jost