Overview
| Artifact ID: | cb994888ff23fd72370dfa06d6b76903a3541f7d724f0f0e3920303ab21b68c7 |
|---|---|
| Ticket: | 28cc67a606a7ab771af4c7b542b34ec1a377edc7
array set from dict: set values multi times on the same array is slower with Tcl9.0. |
| User & Date: | sebres on 2024-04-16 22:17:45 |
Changes
- icomment:
The assumption that the regression is related to abstract list (type enhancement) is confirmed: [f525e7ad92ff63c8] doesn't show it at all (neither by iteration over dict, nor by llength or array set). Sure the dict will shimmer to list there, but only once (where in current trunk due to internal duplication by iteration, new dict object will shimmer to list every time). Still worse it'd do that over the freshly created string-representation, where previously it did that over dict internals (for pure-dicts). I have also a small question, by the way: since when exactly half-finished solutions (with large effect or such affecting almost everything) get merged now in main branch? If I take a closer look at that implementation (not particularly dict, but complete type-extention of TIP 636) it looks not really well thought out and rather as some quick (and even more or less dirty) partly-backed solution to me.<br/> And is there really the intention to release this so? I mean once it gets released, to change TCL_OBJTYPE_V1 or TCL_OBJTYPE_V2 would it need 9.1 (and new TIPs), probably? Or am I wrong?
- login: "sebres"
- mimetype: "text/x-fossil-wiki"