Skip to content
Tcl Source Code View Ticket
Login

View Ticket

dict command is slower with Tcl9 than 8.6.14

Closed / Fixed1541a23c936b00575afbba5f8184589ceba429fbCreated 3 years agoUpdated 3 years ago
Descriptionplain2024-04-11 19:19:12
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.
anonymousplain2024-04-12 17:03:53
Tcl9.0b2 solved the problem. Sorry
oehhar Closed ticket [1541a23c93]. [History diff]2024-04-14 19:12:54
Log in (anonymous is fine) to add a comment.