Forum: IronRuby Code Review: LexicalScope2

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
Tomas M. (Guest)
on 2008-10-30 05:37
(Received via mailing list)
tfpt review "/shelveset:LexicalScope2;REDMOND\tomat"

Refactors and simplifies LexicalScope and allocation of local variables.
Previously a LocalVariable instance was created per each local variable
access, which is unnecessary. Also, since many scopes don't define any
variables at all we allocate a variable dictionary lazily.
In evals, we used to fallback to dynamic variable lookup in some cases
even though we could lookup statically.

Tomas
This topic is locked and can not be replied to.