>>> Then evaluate the intern-soft line again. Now the variable is interned.
>> You're confusing variables and symbols.
> Thanks, yes, I should of course have written "symbol is interned".  However
> the real question was of course if the same obarray is used for symbols
> created by let variable declarations (did I get everything right now?;-) as
> for symbols created by "defvar" variables.  I was surprised by that and a bit
> curious.  But not too much, I do not want to dive into the mathematics
> of that.

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


_______________________________________________
emacs-pretest-bug mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/emacs-pretest-bug

Reply via email to