<i>Leak of unshared literals at interp deletion</i> status still Open with 4 other changes
by
.
D 2004-07-08T05:47:14
J icomment Logged\sIn:\sYES\s\nuser_id=148712\n\nThe\sperformance\sissue\sis:\s\n*\sbefore\sthe\spatch,\sthe\sinterp\sdeletion\sloops\sthrough\sthe\ninterp's\sliteral\stable\sreleasing\sall\sliterals\sin\sthe\sinterp\n(in\sa\ssuboptimal\smanner,\sbut\sjust\sone\sloop\sand\swith\sno\shashing)\n*\safter\sthe\spatch,\severy\sproc\sin\sthe\sinterp\swill\sloop\nthrough\sits\sown\sliteral\sarray\sreleasing\sthe\sliterals\s-\sand\ndoing\sa\shash\slookup\sfor\seach\sone.\sNo\sliterals\sremain\sfor\sthe\noverall\sinterp\sdeletion\sloop.\n\nA\spossible\ssolution\sis\sto\sregister\sunshared\sliterals\sin\sthe\ninterp's\stable\swith\srefCount\s-1\s(to\ssignal\sthat\sthey\sshould\nnot\sbe\sshared).\sNote\sthat\sthis\sis\sactually\sspecified\sin\sthe\ncomments\s(tclInt.h\sline\s921),\sbut\snot\sdone\sin\sthe\scode.\n
J login msofer
J mimetype text/plain
J username msofer
K 983660ffffffffffffffffffffffffffffffffff
U msofer
Z 1f9ead91adc63ada356a0f9370c468ca