Skip to content
Tcl Source Code Artifact [cbbff9ad72]
Login

Artifact [cbbff9ad72]

Artifact cbbff9ad7294aa68fbd798061260c339326a465c:

Ticket change [cbbff9ad72] - Ticket [2868499fffffffff|2868499fff] <i>TIP #348: Substituted errorStack</i> status still Open with 4 other changes by ferrieux on 2009-09-29 06:00:27.
D 2009-09-29T06:00:27
J icomment First\sslight\simprovement:\sexplicitly\sskip\siPtr->rootFramePtr,\slike\sin\s[info\slevel\s$n],\ssince\sthe\sroot\sframe\swill\salways\shave\sargc==0.\sThis\sremoves\sthe\sparasitic\s{}\salways\sfound\sat\sthe\send\sof\s::errorStack,\sand\salso\san\sextra\sone\sgenerated\sby\s[tailcall]\sand\s[coroutine].\n\nNext\simprovements\splanned:\n\n(1)\smake\sthe\son/off\sswitch\smore\sefficient\sby\susing\sa\slinked\sboolean\svar\srather\sthan\sthe\sexistence\sof\s::errorStack\swhich\scosts\sa\shash\slookup\swhen\snegative.\n\n(2)\smake\sthe\slist\sbuilding\sslightly\smore\sefficient\sby\susing\sa\sbackbone\sof\sTcl_Obj\sas\sCons'es\s(linked\slist),\sand\sturning\sit\sinto\sa\sTcl\slist\sonly\sin\sa\sread\strace\sattached\sto\s::errorStack\s(instead\sof\sdirectly\slappending\sas\sis\scurrently\sthe\scase.\sThis\sconstruction\sis\swasted\sin\scaught,\sexpected\sexception\shandling\swhere\sthe\serrorStack\sis\snot\sused).\n\n(3)\sproper\s::tcl\snamespace\s+\stest\scases.\n\n
J login ferrieux
J mimetype text/plain
J username ferrieux
K 2868499fffffffffffffffffffffffffffffffff
U ferrieux
Z 0e57460f3993a70c0464c03c42b5aeab