D 2023-02-28T16:57:09.102
J icomment I'll\sfix\sthe\smissing\s"replace"\sand\salphabetical\sorder.\r\n\r\nI\sdidn't\suse\sTcl_GetIndexFromObjStruct\sspecifically\sbecause\sit\scannot\sbe\sused\sfrom\sthe\sconfigure\swhich\sonly\shas\sa\sstring\sand\snot\sa\sTcl_Obj.\sAllocating\sa\sTcl_Obj\sjust\sto\scall\sTcl_GetIndexFromObjStruct\sdid\snot\sseem\slike\sa\sgood\strade-off.\sI\swas\snot\sin\sfavour\sof\susing\sTcl_GetIndexFromObjStruct\sin\sone\splace\sand\sthen\susing\san\sinline\sloop\s(much\sless\sreadable\simo)\sin\sthe\sconfigure\scode\sas\syou\shave\sdone\sfor\sessentially\sthe\ssame\sfunction.\sI\smuch\sprefer\scode\sfor\sa\sspecific\spurpose\sto\sbe\sencapsulated\sinto\sa\ssingle\sfunction.\r\n\r\nThanks\sfor\sthe\sfeedback.\r\n\r\n/Ashok
J login apnadkarni
J mimetype text/plain
K e778e3f804cacd70deefcdf5ed5d1f8921f32ab1
U apnadkarni
Z 196d618a5648a698de883e4362902daf