Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 5e5a2c7c27987e49880255424f63b2bd3d4157d90845c4e7733670030ab881cc
Ticket: 54329e39c757ee2aac298a142ecfe2a7ebe72391
Compiled foreach uses excessive memory for lseq sequences
User & Date: griffin on 2023-07-11 15:34:44
Changes

  1. icomment:
    The proposed fix looks good.  
    I wonder if it is worthwhile to have separate loops for Lists vs Abstract Lists, as GetElements is more efficient for Lists. It may be that the difference is not worth the complexity. IDK.
    
    Note that there are a number of places where DECACHE/CACHE calls need to be inserted in TBCE. I've done that in tip-636 (main). [tclExecute.c](https://core.tcl-lang.org/tcl/fdiff?v1=b7ee7c30a6f02625&v2=5d734646930c5089)
    
  2. login: "griffin"
  3. mimetype: "text/x-markdown"