Sysop: | Amessyroom |
---|---|
Location: | Fayetteville, NC |
Users: | 28 |
Nodes: | 6 (0 / 6) |
Uptime: | 50:26:39 |
Calls: | 422 |
Files: | 1,024 |
Messages: | 90,508 |
1.0
::MyClassN::cls
::MyClassR::cls
::MyClassN::MyClassN-1set ref2 [::myooX::NewR ::MyClassR::cls 2]
::MyClassR::MyClassR-1::my
1::MyClassR::get $ref2
2
10.244 microseconds per iterationtime {::myooX::NewR ::MyClassR::cls 2 } 10000
15.086 microseconds per iteration
1.6015 microseconds per iterationtime {::MyClassR::get $ref2 } 10000
2.4201 microseconds per iteration
much EASIER to use than the OLD tcl-oo
can be compiled into pure C code using the TCL compiler
follows the "command-first" philosophy of Tcl
can be used from Tcl 8.0...
much faster than the OLD tcl-oo
Now the time has come: myoo is not only available as tcl-only but also as c-tcl-only.
http://thedev.nhi1.de/theLib/main/myoo-performance-variants-my.htm
OK, what looks better. The OLD tcl-oo or the NEW tcl-oo?
The NEW tcl-oo is:
much EASIER to use than the OLD tcl-oo
can be compiled into pure C code using the TCL compiler
follows the "command-first" philosophy of Tcl
can be used from Tcl 8.0...
much faster than the OLD tcl-oo
https://www.facebook.com/permalink.php? story_fbid=pfbid02s4Wo3VokUzCXfuXzqdMepTcrhDtWHghuUggQ7Hsr8BtvbaZPZrtqAyvQ8V7733GAl&id=100069563501101