.
D 2012-12-04T00:09:10.532
T +comment 22f8fd36d9ccc33341b3507907c964bce6d6ce6a This\sbranch\sexplores\sthe\sperformance\simplications\sof\srelacing\sthe\r\ndynamic\sarray\sdata\sstructure\sunderlying\sTcl_Preserve/Release\swith\sa\r\nTcl_HashTable,\si.e\sa\schange\sfrom\snominally\sO(n)\sto\snominally\sO(1).\s\sIn\r\nthis\sinitial\swork\sthe\sReference\sdata\sstructures\sare\sindividually\r\nallocated\sand\sfreed.\sA\scontinuation\smay\sadd\sa\sfree-list\sof\sstructures\r\nfor\squicker\sre-use\swithout\sgoing\sthrough\sthe\smemory\smanager.\r\n\r\nOther\sthings\swe\scan\sexplore\shere:\sDoes\sit\smake\ssense\sto\suse\sTSD\s(i.e.\r\nThread-Specific\sData),\sto\sget\srid\sof\sthe\smutex\scurrently\sused\sin\sthis\r\nsubsystem\s?\sOr\seven\sbetter,\scan\swe\sassume\sthat\spreserved\sdata\sis\r\nalways\stied\sto\ssome\sinterpreter,\sallowing\sus\sto\stie\sthe\sdata\r\nstructures\shere\sin\sthe\ssame\smanner\s?\r\n\r\nPasses\stestsuite.\r\n\r\nNote:\sI\shave\sno\sspecific\sbenchmark\shere,\sonly\stclbench.\sWhich\smakes\sit\sdifficult\sto\sdiscern\show\smuch\sloss\sor\sgain\swe\shave.\sLooking\sover\sthe\stable\sit\sseems\sto\sbe\sroughly\s+/-0.\sTools\smaking\sthe\scomparison\sof\stwo\stclbench\sresults\seasier\swould\sbe\sappreciated.
U aku
Z c145b8c0fe9ad48f7aff3ea36a57fa7b