Overview
| Artifact ID: | 6955e6be8a85e1bce445b978653f6d1dcb49a3f9 |
|---|---|
| Ticket: | 1237040fffffffffffffffffffffffffffffffff
dict compiler |
| User & Date: | dgp on 2005-07-14 04:47:18 |
Changes
- icomment:
Logged In: YES user_id=80530 I don't see the value of the TclLooksLikeInt() call in the compile of [dict incr]. It tells us approximately whether we have an int value, by at least rejecting string that do not "look" right. If it passes, we move on to an actual Tcl_GetIntFromObj() call which tells us for sure whether we have an int value. I don't see the point of a half-test right before the real test. I suppose it could help us fail faster, but is that really important? The check also makes us succeed slower, and success ought to be the normal mode.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"