Skip to content
Tcl Source Code Changes To branch/object-clone-in-c
Login

Changes To branch/object-clone-in-c

Changes to "branch/object-clone-in-c" between 2025-09-01 16:12:13 and 2025-11-10 09:25:32

1
2
3


1
2
3
4
5



+
+
This branch is about making the basic `<cloned>` callback for `oo::object` be written in C rather than messy Tcl code.

I'd been putting off doing anything about this since I first wrote the `oo::copy` implementation; this is messy and a bit complicated. But actually having done this, it doesn't seem so bad any more; just quite a lot more verbose than the Tcl code it replaces.

Part of a programme of branches (not all merged) to reduce the costs of creating a new interpreter imposed by TclOO.