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--- Synchronet 3.20c-Linux NewsLink 1.2
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
Sysop: | DaiTengu |
---|---|
Location: | Appleton, WI |
Users: | 1,007 |
Nodes: | 10 (0 / 10) |
Uptime: | 60:41:01 |
Calls: | 13,152 |
Calls today: | 2 |
Files: | 186,574 |
D/L today: |
1,799 files (806M bytes) |
Messages: | 3,312,977 |