Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 759a3e7debe874f3f24bd2b96115eb7a35539f65
Ticket: 738900ffffffffffffffffffffffffffffffffff
limit shimmer of singleton lists
User & Date: ferrieux on 2016-08-19 21:25:26
Changes

  1. icomment:
    The attached patch shimmer-alex.patch avoids the pitfall by using a new "TclDupShaved" utility that duplicates an object (with an intrep) *without* carrying along its strep. That's faster than first duplicating, then freeing the strep.
    
    Output with trunk: A1.31.3B
    Output with patch: A1.31.3B
    
    As you can see, EIAS is back :P
    
    % tcl::unsupported::representation $x
    value is a list with a refcount of 4, object pointer at 0x13cdfb0, internal representation 0x13f7b50:(nil), string representation "   1.3   "
    % tcl::unsupported::representation [lindex $x 0]
    value is a double with a refcount of 2, object pointer at 0x13d0200, internal representation 0x3ff4cccccccccccd:0x13ce040, string representation "1.3"
    
  2. login: "ferrieux"
  3. mimetype: "text/plain"