Overview
| Artifact ID: | 3579223f0e3eb31eb621c1107bc11350588eedde |
|---|---|
| Ticket: | 2825543fffffffffffffffffffffffffffffffff
Time loss in expr |
| User & Date: | dgp on 2009-07-23 03:53:33 |
Changes
- closedate changed to: "2009-07-22T20:53:33"
- closer changed to: "dgp"
- 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.
- login: "dgp"
- mimetype: "text/plain"
- resolution changed to: "Invalid"
- status changed to: "Closed"
- username: "dgp"