Overview
| Artifact ID: | 42292ba483f8028ebbe223399c2ebe9a76aaa9fc |
|---|---|
| Ticket: | 2832003fffffffffffffffffffffffffffffffff
Possible dict performance enhancement |
| User & Date: | nickhounsome on 2009-08-04 13:33:17 |
Changes
- assignee changed to: "dkf"
- cmimetype changed to: "text/plain"
- comment changed to:
[from comp.lang.tcl] A quick glance at the code appears to show rehashing when copying Dict objects. Either I have missed something or this is an unnecessary waste of time as surely you can just allocate copies of the ChainEntry instances from the old dict and fix up the pointers. One might even think of elevating ChainEntry to a first class, reference counted, Tcl object thus allowing even greater sharing between dicts such that variable altering dict operations on shared dict values could cause ChainEntry objects to be shared thus requiring only a few allocations (The altered key/value ChainEntry and its predecessor) whatever the size of the dictionary.
- foundin changed to: "None"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "nickhounsome"
- subsystem changed to: "15. Dict Object"
- title changed to: "Possible dict performance enhancement"
- type changed to: "RFE"