.
D 2025-11-10T09:25:32.131
L branch/object-clone-in-c
N text/x-markdown
P 18668af3b635c4ac09270c3a05d2a9176bc51e91b3887eb56252c16f02746b8a
U dkf
W 501
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.
Z a9ecf69408cf6e543ace04095c48c060