Skip to content
Tcl Source Code History Of Ticket 1564517fffffffff
Login

History Of Ticket 1564517fffffffff

Artifacts Associated With Ticket 1564517fffffffff

  1. Ticket change [60f2bbb188] (rid 92157) by msofer on 2006-09-24 13:16:19:

    1. assignee initialized to: "msofer"
    2. cmimetype initialized to: "text/plain"
    3. 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
      
      
    4. foundin initialized to: "None"
    5. is_private initialized to: "0"
    6. priority initialized to: "5 Medium"
    7. resolution initialized to: "None"
    8. status initialized to: "Open"
    9. submitter initialized to: "msofer"
    10. subsystem initialized to: "45. Parsing and Eval"
    11. title initialized to: "[expr]: handling of negative literals"
    12. type initialized to: "Bug"
  2. Ticket change [811d8bf375] (rid 116985) by dgp on 2006-09-25 07:58:18:

    1. assignee changed to: "dgp"
    2. 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.
      
      
    3. login: "dgp"
    4. mimetype: "text/plain"
    5. username: "dgp"
  3. Ticket change [ba9a4b1d85] (rid 129349) by dgp on 2006-09-27 22:24:26:

    1. 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.
      
      
    2. login: "dgp"
    3. mimetype: "text/plain"
    4. username: "dgp"
  4. Ticket change [74ffbe9f2c] (rid 105319) by dgp on 2007-08-17 02:19:51:

    1. closedate changed to: "2007-08-16T19:19:51"
    2. closer changed to: "dgp"
    3. icomment:
      Logged In: YES 
      user_id=80530
      Originator: NO
      
      
      fixed in HEAD
      
      
    4. login: "dgp"
    5. mimetype: "text/plain"
    6. resolution changed to: "Fixed"
    7. status changed to: "Closed"
    8. subsystem changed to: "47. Bytecode Compiler"
    9. username: "dgp"