Skip to content
Tcl Source Code Artifact [ef7b6e445e]
Login

Artifact [ef7b6e445e]

Artifact ef7b6e445ea91c49474e567c3204884bd3bc424d:

Ticket change [ef7b6e445e] - Ticket [32c5740a4d3e86b1|32c5740a4d] <i>Undesirable [lappend] performance as LIST_MAX is reached</i> status still Open with 3 other changes by dgp on 2015-11-23 20:56:49.
D 2015-11-23T20:56:49.545
J icomment \r\nSo,\sthe\spath\sforwards\sappears\sto\sbe:\r\n\r\n1)\sAdd\sto\sTcl_ListObjReplace()\sthe\scode\sneeded\sso\sthat\r\nattempts\sto\srealloc\sList\sstructs\shappen\swhere\sthey\scan\r\nbe\sof\spotential\sbenefit.\r\n\r\n2)\sThen,\sthere\smay\sor\smay\snot\sbe\sreason\sto\sreconsider\r\nthe\sactual\sgrowth\salgorithm.\s\sExperience\swith\sTcl_ListObjAppendElement()\r\nsuggests\sit\swon't\sreally\smatter.\r\n\r\n3)\sFinally,\sit\ssure\swould\sbe\snice\snot\sto\shave\sall\sthis\r\nlist\sgrowth\scode\ssemi-duplicated\smultiple\stimes.\sIt\r\nseems\sthere\sought\sto\sbe\sa\srefactoring\sthat\sputs\sthese\r\nmatters\sinto\sone\splace.
J login dgp
J mimetype text/plain
K 32c5740a4d3e86b1973915d92f07d5aee6104a14
U dgp
Z 488daebdfd19c00a0a2b5187a3a6df68