Skip to content
Tcl Source Code Update of ”branch/object-clone-in-c”
Login

Update of ”branch/object-clone-in-c”

Overview

Artifact ID: e8dc3a0da51691427ec38f3c3c9ccc8938059cdc59a04317fd59e2608f4342ff
Page Name:branch/object-clone-in-c
Date: 2025-11-10 09:25:32
Original User: dkf
Mimetype:text/x-markdown
Parent: 18668af3b635c4ac09270c3a05d2a9176bc51e91b3887eb56252c16f02746b8a (diff)
Content

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.