.
D 2002-02-18T20:40:18
J assignee msofer
J cmimetype text/plain
J comment ***\sEXPERIMENTAL\sPATCH\s***\n\nThis\spatch\sexplores\sthe\spossibility\sof\scalling\nC-functions\sfrom\sthe\sbytecode;\ssee\sthe\sREADME.\sWhat\sit\ndoes\sis:\n\n\s\s\s*\sIncorporation\sof\snew\sfunctions\swith\ssignature\n\s\s\s\s\s\sTcl_Obj\s*\sTclCoreFun\s(Tcl_Interp\s*interp,\sint\nobjc,\s\n\s\s\s\s\s\s\s\s\s\s\sTcl_Obj\s*CONST\sobjv[],\sint\sargc,\sClientData\n*argv);\n\n\s\s\s\s\sThese\swill\simplement\sthe\score\sfunctionality\sof\nTcl;\sthe\sstandard\n\s\s\s\s\scalls\sact\sas\sfront\sends\sfor\sthem.\n\n\s\s\s\s\sThe\susage\sis\sto\sallow\sreceiving\spointers\sto\sC\nstructures\sthat\sare\n\s\s\s\s\sdetermined\sat\sproc-compile\stime\s-\sfor\sexample,\sto\nvariables.\n\n\s\s\s*\sModification\sof\sthe\smain\svariable\saccess\sfunctions\nin\stclVar.c\sto\n\s\s\s\s\sfollow\sthis\sstructure.\sFactoring\sout\sTclLookupVar.\n\n\s\s\s*\sDefinition\sof\snew\sinstructions\sto\n\s\s\s\s\s\s\s-\slookup\svariable\spointers\sgiven\stheir\sindex\n(locals)\sor\sname\n\s\s\s\s\s\s\s-\spush\snon-Tcl_Obj\sitems\son\sthe\sTcl\sstack\n\s\s\s\s\s\s\s-\scall\sa\sTclCoreFun\n\n\s\s\s*\stest\strial:\s[gets]\sis\scompiled\susing\sthese\ninterfaces,\swith\sa\s20%\s\n\s\s\s\s\sspeed\sgain\sin\sthe\sbenchmarks:\n\n\s\s\s\s\s000\sVERSIONS:\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\spatched\s\s\s\nHEAD\n\s\s\s\s\s001\sREAD\s595K,\sgets\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s136482\s\n175674\n\s\s\s\s\s006\sREAD\s3050b,\sgets\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\n742\s\s\s\s\s953\n\s\s\s\s\s011\sREAD\sbin\s595K,\sgets\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s145248\s\n183942\n\s\s\s\s\s016\sREAD\sbin\s3050b,\sgets\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s\s803\s\s\s\n1007\n
J foundin None
J priority 5\sMedium
J resolution None
J status Open
J submitter msofer
J subsystem 47.\sBytecode\sCompiler
J title Call\sC-functions\sfrom\sbytecodes\s(rough)
J type Patch
K 519535ffffffffffffffffffffffffffffffffff
U msofer
Z 9e850a4c18d791d365f48560634c5dff