D 2022-04-13T18:34:58.871
J icomment Apparently\sthere\sare\sother\splaces\sin\sTcl\swhere\sobjects\sare\sfirst\sgrown\sexponentially,\sand\sthen\slinearly\sonce\sdoubling\sis\snot\spossible.\sI\swould\sthink\sthose\sare\saffected\sby\sperformance\sissues\ssimilar\sto\sthe\sone\sseen\sin\s<tt>FilterInputBytes()</tt>,\sbut\smaybe\sthat\sis\savoided\sby\stheir\suse\sof\s<tt>TCL_MIN_GROWTH</tt>.\r\n\r\nWithout\sa\smore\srigorous\sanalysis,\sthe\salternative\sgrowth\salgorithm\sI\ssuggest\s(i.e.\sto\sapproximate\slogistic\sgrowth)\smay\sincrease\sthe\slikelihood\sthat\sa\sprogram\sterminates\s(due\sto\swasted\smemory\sstarving\sother\sneeded\sallocations)\srather\sthan\seventually\sfinishes.
J login chrstphrchvz
J mimetype text/x-fossil-wiki
K 69b4f7eb379e7b806c0c144a36059ca55f569634
U chrstphrchvz
Z 54481cbe52d6d3d390b72cf1d849a39d