Overview
| Artifact ID: | d31600d8cf6f54e20e57c7fdeda3686052eb7bdf |
|---|---|
| Ticket: | 2318906fffffffffffffffffffffffffffffffff
order of insertion seems to have large performance impact |
| User & Date: | nobody on 2008-11-21 00:33:03 |
Changes
- assignee changed to: "dkf"
- cmimetype changed to: "text/plain"
- comment changed to:
See attached tarball which has a script showing the problem. This seems to be related to nested dicts. I'm doing something like this in a loop: dict set $d "key1" $x $y dict set $d "key2" $a $u dict set $d "key2" $b $v dict set $d "key2" $c $w ... The "key2" inserts can occur multiple times per iterations. It's much faster to collect the "key2" stuff into a separate dict and copy them in one shot at the end of all the loops into $d instead of interleaving "key1" and "key2".
- foundin changed to: "obsolete: 8.5.5"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nobody"
- subsystem changed to: "15. Dict Object"
- title changed to:
order of insertion seems to have large performance impact
- type changed to: "RFE"