Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 1faa9dc66abb0af4b6370874dfe28c29e4ef60bd4ed270d9f75079144105fe68
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-23 16:49:09
Changes

  1. icomment:
    > in cases where only the internal representation exists (when we can guarantee that the list length is exactly twice the dictionary size)
    
    Well, this is even one of the additional issues - once the string representation created (for whatever reason), it is not possible anymore to know whether dict is "pure" dict or not. The lists have a "canonical" flag, so the same must be implemented for dict (it is canonical unless obtained from string representation), so TclIsPureDict could be replaced by TclIsCanonicalDict and in that case it is no matter whether string representation is there or not.
    
  2. login: "sebres"
  3. mimetype: "text/x-markdown"