Skip to content
Tcl Source Code History Of Ticket 1323154fffffffffffffffffffffffffffffffff
Login

History Of Ticket 1323154fffffffffffffffffffffffffffffffff

Artifacts Associated With Ticket 1323154fffffffffffffffffffffffffffffffff

  1. Ticket change [c1a95fc004] (rid 111359) by msofer on 2005-10-10 17:53:43:

    1. assignee initialized to: "msofer"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      While investigating something else, I came to notice
      that the compiler is doing a bad job at literal
      sharing. Note in this bytecode that the three "" appear
      as three different literals:
      
      ByteCode 0x816c458, refCt 1, epoch 0, interp 0x814cb28
      (epoch 0)
        Source "for break 1 {} {}"
        Cmds 2, src 17, inst 18, litObjs 4, aux 0, stkDepth
      1, code/src 12.00
        Code 204 = header 100+inst 18+litObj 16+exc 56+aux
      0+cmdMap 8
        Exception ranges 2, depth 1:
            0: level 1, loop, pc 4-5, continue 7, break 15
            1: level 1, loop, pc 7-8, continue -1, break 15
        Commands 2:
            1: pc 0-16, src 0-16         2: pc 0-0, src 4-8
        Command 1: "for break 1 {} {}"
        Command 2: "break"
          (0) break
          (1) pop
          (2) jump1 +8        # pc 10
          (4) push1 0         # ""
          (6) pop
          (7) push1 1         # ""
          (9) pop
          (10) push1 2        # "1"
          (12) tryCvtToNumeric
          (13) jumpTrue1 -9   # pc 4
          (15) push1 3        # ""
          (17) done
      i
      
    4. foundin initialized to: "obsolete: 8.5a4"
    5. priority initialized to: "5 Medium"
    6. resolution initialized to: "None"
    7. status initialized to: "Open"
    8. submitter initialized to: "msofer"
    9. subsystem initialized to: "47. Bytecode Compiler"
    10. title initialized to: "improve literal handling"
    11. type initialized to: "Bug"
  2. Ticket change [6b20e3d262] (rid 128266) by msofer on 2005-10-11 01:06:03:

    1. icomment:
      Logged In: YES 
      user_id=148712
      
      Tcl8.4.11 does not have this problem, the literal is shared
      there
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"
  3. Ticket change [8844eee5ce] (rid 131842) by msofer on 2005-10-11 01:17:35:

    1. closedate changed to: "2005-10-10T18:17:35"
    2. closer changed to: "msofer"
    3. icomment:
      Logged In: YES 
      user_id=148712
      
      This is just a fluke caused by the fix for [Bug 458361]:
      single-word scripts are unshared in order to stop them from
      shimmering. Nothing to see here, not a bug.
      
      
    4. login: "msofer"
    5. mimetype: "text/plain"
    6. resolution changed to: "Invalid"
    7. status changed to: "Closed"
    8. username: "msofer"