Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: d4ee6d3d84663470948c864bdbcbb43704f65202
Ticket: 04e26c02c04596869907b5240ffa0c97457df352
Warning
User & Date: dgp on 2017-04-27 16:34:53
Changes

  1. icomment:
    
    That test is present to preserve the same test
    done in earlier versions of the bytecode engine
    that trace back to this March 2000 "optimization":
    
    http://core.tcl.tk/tcl/info/6f0ee764c164f12f
    
    Best I can tell, that was just always (harmlessly)
    wrong, testing a condition that always has a known
    truth value.  The comment alongside it is just 
    blatantly false.  Even back in that day, we were
    using tclEmptyString to represent our empty strings.
    A NULL objPtr->bytes was always a sign of a pure
    internal value, unless someone can show me otherwise.
    
    Whether it was always wrong, or became outdated and wrong,
    no need to keep the vestige anymore.
    
  2. login: "dgp"
  3. mimetype: "text/plain"