Re: [TCLCORE] Tcl-Core Digest, Vol 24, Issue 5
by Kevin Kenny other posts by this author
May 5 2008 9:33PM messages near this date
Re: [TCLCORE] Tcl-Core Digest, Vol 24, Issue 5
|
Re: [TCLCORE] Tcl-Core Digest, Vol 24, Issue 5
Will Duquette wrote:
[on the subject of importing instance variables via a
code prelude added a method body]
> This is more or less what Snit 1.x does, although it uses
> multiple upvar's, and that's been fast enough for our production
> code. Slower than Snit 2.x, which uses "namespace upvar", but
> fast enough to be usable.
Actually, it should be essentially the same as Snit 2.x; instead
of [namespace upvar $instanceNamespace var1 var1 var2 var2...],
it'll be [my variable var1 var2 ...]. It might even be a tad
faster, since the variable names have to be stacked only
once. (Not sure about the bytecode situation, but that's
going to change as we attack optimization of this stuff, anyway.)
--
73 de ke9tv/2, Kevin
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Tcl-Core mailing list
Tcl-Core@[...].net
https://lists.sourceforge.net/lists/listinfo/tcl-core
Thread:
Twylite
Will Duquette
Kevin Kenny
Kevin Kenny
Will Duquette
Arnulf Wiedemann
Will Duquette
Kevin Kenny
Donal K. Fellows
Twylite
Larry W. Virden
Twylite
Gustaf Neumann
Larry McVoy
Gerald W. Lester
Vasiljevic Zoran
Larry McVoy
Gerald W. Lester
Larry McVoy
Tomasz Kosiak
Gustaf Neumann
Donal K. Fellows
Daniel A. Steffen
Donal K. Fellows
Daniel A. Steffen
Donal K. Fellows
Donal K. Fellows
Daniel A. Steffen
Gerald W. Lester
Vasiljevic Zoran
Arnulf Wiedemann
Tom Krehbiel
Vasiljevic Zoran
Donal K. Fellows
Gustaf Neumann
Brian Griffin
Gustaf Neumann
Donal K. Fellows
Gustaf Neumann
Kristoffer Lawson
Daniel A. Steffen
Twylite
Donal K. Fellows
Will Duquette
Donal K. Fellows
Will Duquette
Arnulf Wiedemann
dgp
Donal K. Fellows
Arnulf Wiedemann
Twylite
Will Duquette
Twylite
Donal K. Fellows
Stefan Sobernig
Donal K. Fellows
Stefan Sobernig
|