|
From: | Lennart Borgman (gmail) |
Subject: | Re: Should let symbols be interned? |
Date: | Mon, 22 Jan 2007 11:15:06 +0100 |
User-agent: | Thunderbird 1.5.0.9 (Windows/20061207) |
Stefan Monnier wrote:
I rest my case: you're confusing variables and symbols. Symbols are fundamentally nothing more than hash-consed strings. Symbols are created by the lexer, not by the evaluator, so insertion into a big obarray only affects the performance of the lexer/parser. Stefan
Thanks, I guess I understand a bit more. Just out of curiosity: Does the lexer/parser know that it is a let variable at the time the symbol is inserted or is that information only available later to the evaluator?
[Prev in Thread] | Current Thread | [Next in Thread] |