.
D 2008-07-31T20:46:01
J assignee msofer
J cmimetype text/plain
J comment The\snewly\savailable\sallocCache\sfield\sin\sInterp\scan\sbe\sused\sto\sspeed\sup\smost\salloc/free\sas\swell\sas\sand\sTcl_Obj\sallocation\sand\sfreeing.\n\nSpecifically,\sa\ssimple\sextra\sinterface\sto\sthe\sfunctions\sin\sgeneric/tclThreadAlloc\sthat\sreceives\sa\sCache\spointer\swould\sbypass\saccessing\sthe\sTSD.\sFor\sTcl_Obj\sallocation\sand\sfreeing,\sthe\swork\scan\sbe\sdone\smostly\sin\smacros\s(see\sthe\smacro\sTclAllocObjStorageEx()\sin\sHEAD).\n\nWhat\sthis\smeans\sis\sthat\swe\sshould\spass\sthe\sinterp\swhere\savailable\sto\sthe\salloc\sand\sobj\screation/deletion\sfunctions\sor\smacros\s(NULL\sif\sunknown).\sMost\sof\sthe\score\sactivity\shappens\swith\san\sinterp\sat\shand.\n\nThis\sis\sa\sfairly\strivial\sproject,\sbut\srather\sbothersome\s(2000+\slocs\sto\schange).\sNote\sthat\sthe\s"upgrade"\scan\sbe\sdone\sgradually,\sstarting\swith\sthe\smost\scritical\sparts.\sNote\salso\sthat\sthis\swould\smake\snormal\sallocations\scompete\swith\sTclStackAlloc\sin\sterms\sof\sspeed,\sso\sthat\swe\scould\sremove\sit\sand\sbe\sfree\sof\sits\sbothersome\slimitations.
J foundin None
J is_private 0
J priority 8
J resolution None
J status Open
J submitter msofer
J subsystem 41.\sMemory\sAllocation
J title Use\sthe\sekeko\sto\sspeed\sup\sthreaded\sallocs\s
J type RFE
K 2034347fffffffffffffffffffffffffffffffff
U msofer
Z dfc4b2a17753e778d38f2b197b254b68