Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 2b053c18eb6232b4bcea93572ff6d10fcb0349be
Ticket: 1752146fffffffffffffffffffffffffffffffff
command limit is never reached in loops
User & Date: msofer on 2007-07-12 01:50:55
Changes

  1. assignee changed to: "dkf"
  2. icomment:
    Logged In: YES 
    user_id=148712
    Originator: NO
    
    The problem seems to be caused by the optimisation of INST_START_CMD (2007-04-01), and require for its manifestation:
      (a) a 'while 1' loop with 
      (b) a single bytecoded command in the body
    In this case all the bytecode in the loop is atmdStart, and there is no ISC within the loop.
    
    Note also that the 'deep cause' is that the commands are miscounted: the first command in the loop body will be counted just once, and not at each iteration. Again, only on 'while 1' which starts the body immediately (when there is no condition a jump is optimised away by the compiler).
    
    
  3. login: "msofer"
  4. mimetype: "text/plain"
  5. username: "msofer"