<i>Tcl interpreter does not lazy-free objects.</i> status still Open with 4 other changes
by
.
D 2004-06-15T04:42:29
J icomment Logged\sIn:\sYES\s\nuser_id=79902\n\nI\shave\sa\sprototype\sfix\sfor\sthis\sin\sthe\sworks.\s\sA\sfew\ncomments\son\sMiguel's\snotes:\n1.\sQueues\sare\smore\scomplex\sto\smaintain\sthan\sstacks,\sand\nlibrary\scode\stidying\sup\sthe\sguts\sof\sa\stype\sshould\ncategorically\snot\srely\son\sthe\sorder\sof\sdeletion\sof\sobjects.\nThe\score\sdoes\snot\sdocument\swhat\sthis\sorder\sis\sBTW.\n2.\sThe\sbehaviour\s(whether\sor\snot\sto\suse\sper-thread\ncollecting)\sdepends\spurely\son\sTCL_THREADS\sand\snot\swhich\nallocator.\sIt\sturns\sout\sthat\sthis\scan\sbe\sdone\sreally\sneatly\nwith\svirtually\sthe\ssame\scode\sin\sthe\sthreaded\sand\nnon-threaded\scase.\s:^)\n3.\sBeing\svery\slazy\sis\sprobably\snot\sa\sgood\sidea,\sespecially\nas\sit\swill\ssignificantly\sincrease\sthe\soverall\smemory\nconsumption\sof\sTcl\sunless\sa\sstrategy\sof\s"reuse\sthe\smost\nrecently\sreleased\sobject"\sis\sused,\swhich\snegates\sa\slot\sof\nthe\sbenefit\sof\slaziness.\s\sKeeping\sa\sreasonable\sdegree\sof\nopenness\sis\sbest.\n\nI'll\supload\sthe\spatch\sonce\sI've\sgot\sa\sversion\swhich\scompiles\ncleanly\sin\sboth\sthreaded\sand\snon-threaded\sbuilds.\s;^)\n
J login dkf
J mimetype text/plain
J username dkf
K 886231ffffffffffffffffffffffffffffffffff
U dkf
Z 410fac1b0839b8d5e204bd8410518466