Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 3579223f0e3eb31eb621c1107bc11350588eedde
Ticket: 2825543fffffffffffffffffffffffffffffffff
Time loss in expr
User & Date: dgp on 2009-07-23 03:53:33
Changes

  1. closedate changed to: "2009-07-22T20:53:33"
  2. closer changed to: "dgp"
  3. icomment:
    
    
    allow_comments - 1
    
    
    print the value of $t to see what is happening.
    
    Note that in Tcl 8.4 integer values had limited
    range and when that range was overflowed
    the values truncated to that range automatically.
    
    Scripts like yours depend on that truncation.
    
    In Tcl 8.5 integer range is unlimited.  Without
    truncation,the integers grow bigger.  It takes
    longer and longer to compute on bigger
    and bigger integers.
    
    The solution, as noted in the release notes
    of Tcl 8.5.0 as something to take care over
    when migrating from earlier Tcl releases,
    is to make your integer truncation needs
    explicit by putting the appropriate int(.)
    or wide(.) function calls in your expressions.
    
    
  4. login: "dgp"
  5. mimetype: "text/plain"
  6. resolution changed to: "Invalid"
  7. status changed to: "Closed"
  8. username: "dgp"