Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 774e6ad3260055cfe8a7a79f5b7ab3600441169b600438b15a168fd050d5521b
Ticket: 1541a23c936b00575afbba5f8184589ceba429fb
dict command is slower with Tcl9 than 8.6.14
User & Date: anonymous on 2024-04-11 19:19:12
Changes

  1. assignee changed to: "nobody"
  2. closer changed to: "nobody"
  3. cmimetype changed to: "text/x-fossil-plain"
  4. comment changed to:
    To reproduce :
    
    time {dict set myDict key1 value1} 10000
    > Tcl9.0b1:  1.081144 microseconds per iteration
    > Tcl8.6.14: 0.356252 microseconds per iteration
    
    time {dict get $myDict key1} 10000
    > Tcl9.0b1: 0.341726 microseconds per iteration
    > Tcl8.6.14: 0.150667 microseconds per iteration
    
    This affects the other dict commands, but to show the regression I think these 2 commands are sufficient.
    
  5. foundin changed to: "9.0b1"
  6. is_private changed to: "0"
  7. login: "anonymous"
  8. priority changed to: "5 Medium"
  9. private_contact changed to: "09c930666be5f16f66385ff2c54c7816bbb4dfd4"
  10. resolution changed to: "None"
  11. severity changed to: "Minor"
  12. status changed to: "Open"
  13. submitter changed to: "anonymous"
  14. subsystem changed to: "16. Commands A-H"
  15. title changed to: "dict command is slower with Tcl9 than 8.6.14"
  16. type changed to: "Bug"