Skip to content
Tcl Source Code Artifact [42292ba483]
Login

Artifact [42292ba483]

Artifact 42292ba483f8028ebbe223399c2ebe9a76aaa9fc:

Ticket change [42292ba483] - New ticket [2832003fffffffff|2832003fff] <i>Possible dict performance enhancement</i>. by nickhounsome on 2009-08-04 13:33:17.
D 2009-08-04T13:33:17
J assignee dkf
J cmimetype text/plain
J comment [from\scomp.lang.tcl]\n\nA\squick\sglance\sat\sthe\scode\sappears\sto\sshow\srehashing\swhen\scopying\sDict\nobjects.\n\nEither\sI\shave\smissed\ssomething\sor\sthis\sis\san\sunnecessary\swaste\sof\stime\nas\ssurely\syou\scan\sjust\sallocate\scopies\sof\sthe\sChainEntry\sinstances\nfrom\sthe\sold\sdict\sand\sfix\sup\sthe\spointers.\n\nOne\smight\seven\sthink\sof\selevating\sChainEntry\sto\sa\sfirst\sclass,\nreference\scounted,\sTcl\sobject\sthus\sallowing\seven\sgreater\ssharing\nbetween\sdicts\ssuch\sthat\svariable\saltering\sdict\soperations\son\sshared\ndict\svalues\scould\scause\sChainEntry\sobjects\sto\sbe\sshared\sthus\srequiring\nonly\sa\sfew\sallocations\s(The\saltered\skey/value\sChainEntry\sand\sits\npredecessor)\swhatever\sthe\ssize\sof\sthe\sdictionary.\s
J foundin None
J is_private 0
J priority 5\sMedium
J resolution None
J status Open
J submitter nickhounsome
J subsystem 15.\sDict\sObject
J title Possible\sdict\sperformance\senhancement
J type RFE
K 2832003fffffffffffffffffffffffffffffffff
U nickhounsome
Z 6a314f07547b40ca719725930398302f