Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 5835e052e9e2e37b27be027870a54a12a1d577ea432700f0e018719e9b71cdc4
Ticket: 28cc67a606a7ab771af4c7b542b34ec1a377edc7
array set from dict: set values multi times on the same array is slower with Tcl9.0.
User & Date: oehhar on 2024-04-15 16:10:16
Changes

  1. icomment:
    Nicolas,
    thanks for the ticket.
    I have tried your command with wish on windows with timerate "cmd". Here are the results:
    
    TCL 8.6.14
    
    % timerate generateData
    7586957 µs/# 1 # 0.132 #/sec 7586.957 net-ms
    
    TCL 9.0b2rc0
    
    % timerate generateData
    9272919 µs/# 1 # 0.108 #/sec 9272.919 net-ms
    
    So, the difference is not so huge.
    
    Take care,
    Harald
    
  2. login: "oehhar"
  3. mimetype: "text/x-fossil-plain"
  4. username: "oehhar"