Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: bebf64cdb4a7ca044de5f4a85747b5f600dce8bf1ac7d9247ad4f3e96f7b6235
Ticket: bc7ddc7944ec60be761ad6ee54d31110926f85a8
Error: "can't convert value to type substcode"
User & Date: apnadkarni on 2023-08-11 01:44:56
Changes

  1. icomment:
    Brian, with regard to reverting changes, in case you were not aware, note that many (most?) TclDuplicatePureObj calls need to be replaced by ListObjCopy, not Tcl_DuplicateObj for efficiency reasons.
    
    ListObjCopy has been around forever and afaik DGP introduced it for list performance reasons. Nathan replaced those calls as well with the generalized TclDuplicatePureObj. Reverting those to Tcl_DuplicateObj would likely be a performance regression.
    
    I think it would be easier to first revert to ListObjCopy and then Tcl_DuplicateObj. I can do that later as well if you are too far along.
    
    /Ashok
    
  2. login: "apnadkarni"
  3. mimetype: "text/plain"