Overview
| Artifact ID: | 8439b561e16eec347b0ce3d4ea986a5427354370 |
|---|---|
| Ticket: | 219316ffffffffffffffffffffffffffffffffff
Garbage collection of object oriented Tcl commands |
| User & Date: | dkf on 2009-07-15 16:57:33 |
Changes
- icomment:
I'm thinking of doing the second. Yes, it's a theoretical problem. No, it's not a problem much in practice. (No, I'm not doing this for 8.6 in any case.) BTW, your example will break in other ways too; object names as returned by the factory methods are fully qualified. :-) But that's just an unfortunate choice of separator char; a comma would have demonstrated what you were looking to show. There are third and fourth options too: use explicit refcounting, tie to a scope (or rather to a variable lifetime). There are some interesting ideas here in the wider community (e.g., TclNAP) which is why doing something about this remains a big project; real research is needed...
- login: "dkf"
- mimetype: "text/plain"
- username: "dkf"