Artifacts Associated With Ticket 1564517fff
Ticket change [60f2bbb188] (rid 92157) by msofer on 2006-09-24 13:16:19:
- assignee initialized to: "msofer"
- cmimetype initialized to: "text/plain"
- comment initialized to:
Negative numeric constants are stored as a positive literal, and UMINUS is executed on it at runtime: Command 1: "expr {$v > -99}" (0) loadScalar1 %v0 # var "v" (2) push1 0 # "99" (4) uminus (5) gt This can be very costly if happens in a loop (see http://groups.google.com/group/comp.lang.tcl/browse_frm/thread/b2a6592f802dfddc/82517b5f8bf2b145 - foundin initialized to: "None"
- is_private initialized to: "0"
- priority initialized to: "5 Medium"
- resolution initialized to: "None"
- status initialized to: "Open"
- submitter initialized to: "msofer"
- subsystem initialized to: "45. Parsing and Eval"
- title initialized to: "[expr]: handling of negative literals"
- type initialized to: "Bug"
Ticket change [811d8bf375] (rid 116985) by dgp on 2006-09-25 07:58:18:
- assignee changed to: "dgp"
- icomment:
Logged In: YES user_id=80530 I'd need to review the code to recall the details and rationale, but this is an intentional feature of the expr parser.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
Ticket change [ba9a4b1d85] (rid 129349) by dgp on 2006-09-27 22:24:26:
- icomment:
Logged In: YES user_id=80530 The expr parser has always aggresively interpreted "-" and "+" as operators. Looking into what the compiler can do to improve bytecode for this situation.
- login: "dgp"
- mimetype: "text/plain"
- username: "dgp"
- icomment:
Ticket change [74ffbe9f2c] (rid 105319) by dgp on 2007-08-17 02:19:51:
- closedate changed to: "2007-08-16T19:19:51"
- closer changed to: "dgp"
- icomment:
Logged In: YES user_id=80530 Originator: NO fixed in HEAD
- login: "dgp"
- mimetype: "text/plain"
- resolution changed to: "Fixed"
- status changed to: "Closed"
- subsystem changed to: "47. Bytecode Compiler"
- username: "dgp"