Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: c9f3dc345ad1f55171763946d3d465f833ae3de7905c23b25246d954d6ccc967
Ticket: b9ecf3ce9801c480620f83b34110f808bd11affb
[uplevel $list], [uplevel 1 $list] and generation of string representations
User & Date: dgp on 2020-09-19 16:32:01
Changes

  1. icomment:
    
    Effect of this patch is to avoid string generation for the particular
    case of a pure list with no explicit level argument.
    
    Tradeoff is the shimmering generation of a list representation for values that came in with other intreps.  Might mean loss of bytecode. Or fragile intreps. Or expensive ones.
    
    It's a lot easier to train coders to include the explicit level argument than to have mercurial performance dances like this.
    
  2. login: "dgp"
  3. mimetype: "text/plain"