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

History Of Ticket 1447328fffffffff

Artifacts Associated With Ticket 1447328fffffffff

  1. Ticket change [8824719acc] (rid 131823) by msofer on 2006-03-10 16:21:24:

    1. assignee initialized to: "msofer"
    2. cmimetype initialized to: "text/plain"
    3. comment initialized to:
      As noted in bugs 1143805 and 1178805, [concat]'s
      performance may suffer when one of it's arguments is an
      empty list.
      
      Specifically, as empty lists may have non-list internal
      representations, they appear as empty strings.
      Currently this can force an unnecessary round trip over
      the string rep when all arguments are pure lists but
      some of them are empty.
      
    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: "14. List Object"
    10. title initialized to: "performance of [concat] and empty lists"
    11. type initialized to: "Bug"
  2. Ticket change [6b88348050] (rid 128343) by msofer on 2006-09-30 08:09:34:

    1. priority changed to: "8"
  3. Ticket change [afbe7f8b5e] (rid 97862) by msofer on 2007-10-28 10:19:37:

    1. icomment:
      Logged In: YES 
      user_id=148712
      Originator: YES
      
      Fixed by optimizing for any Tcl_Obj that are either empty lists or objs with an empty string rep, independently of their internal rep.
      Leaving open as a remainder: is it possibly worth optimising for dicts too?
      
      
    2. login: "msofer"
    3. mimetype: "text/plain"
    4. username: "msofer"
  4. Ticket change [1228433f4d] (rid 95264) by msofer on 2007-10-28 10:19:38:

    1. foundin changed to: "obsolete: 8.5b2"
    2. priority changed to: "5 Medium"
  5. Ticket change [e77a5666a9] (rid 104465) by dkf on 2007-10-28 18:05:08:

    1. icomment:
      Logged In: YES 
      user_id=79902
      Originator: NO
      
      Since I don't really recommend concatenating dicts at all, what you do about them is not a big issue to me.
      
      
    2. login: "dkf"
    3. mimetype: "text/plain"
    4. username: "dkf"
  6. Ticket change [bb765a634c] (rid 129490) by msofer on 2008-01-12 20:14:20:

    1. closedate changed to: "2008-01-12T13:14:20"
    2. closer changed to: "msofer"
    3. resolution changed to: "Fixed"
    4. status changed to: "Closed"
  7. Ticket change [ef662c996c] (rid 108986) by msofer on 2008-08-17 21:22:14:

    1. foundin changed to: "obsolete: 8.5.4"
    2. icomment:
      Logged In: YES 
      user_id=148712
      Originator: YES
      
      Oops ...this turned Tcl_ConcatObj from reader to hairy monster, see [Bug 2055782]. This is against the documented behaviour. This only happens when concat'ing one or more empty objs with a single list.
      
      Additionally Tcl_ConcatObj() would corrupt its input when: all things to be concat'ed were either empties or canonical lists, and at least 2 were not empty, and the first one was unshared. In that case it would add the new elements in place, hence modifying its input. THIS IS VERY BAD!
      
      Fixed now in 8-5-branch and HEAD.
      
      
    3. login: "msofer"
    4. mimetype: "text/plain"
    5. priority changed to: "9 Immediate"
    6. username: "msofer"