Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 6b56c8ac586f987af7a55f90c3f41cea9ec21448
Ticket: cd82cec7ce46a55af099b32b798398a78a505ef4
TclX never updated to 8.6
User & Date: dgp on 2014-08-01 22:47:29
Changes

  1. icomment:
    This will be disappointing to any happy users of
    the [profile] command who wish to keep using it
    as they update their Tcl, but it's truly necessary
    until someone can rewrite the command to stop
    making the fundamental assumption that Tcl
    evaluation is a recursive operation.
    
    Tcl 8.6 don't work that way no more.
    
    Something like a profiler could be built up using
    the execution tracing functionality of 
    Tcl_TraceCommand() that was added in Tcl 8.4,
    I believe.  This would allow a profiler to support
    NRE without having to become NRE, if you follow.
    
     It would have to confront questions
    about what it means to profile across a [yield]
    though.  I'm signed up to stop crashes, but I'm
    not interested in inventing that NRE-supporting
    profiler.
    
  2. login: "dgp"
  3. mimetype: "text/plain"