Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: cbbb37d0e61d031e0a74c44abbb1fed15b6f4343
Ticket: 4955f5d8a4dce006e063f924bc9709f7850ecb6a
tailcall splicing spot vs. raw TclInvokeObjectCommand
User & Date: msofer on 2014-05-20 17:58:44
Changes

  1. icomment:
    dkf's suggestion is correct, IMHO. It is also what I am trying to implement, buthaven't yet found a way and/or the time to do it properly.
    
    Note that this seems to be an issue only for commands created via [proc] and friends, as [tailcall] only tries to do its thing when invoked from within a proc body. Given that tcl's core only uses the nreProc pointer for procs, the way to go may well be to concoct an objProc that knows how to handle [tailcall] on its own - that is, without relying on the nre machinery.
    
  2. login: "msofer"
  3. mimetype: "text/plain"