.
D 2005-05-11T17:57:06
J icomment Logged\sIn:\sYES\s\nuser_id=938835\n\nHow\sI\swish\sthe\spowers\sthat\sbe\swould\sspend\smore\selectronic\sink\son\sthe\s\nactual\s_issue_\sthan\son\sthe\s_symptoms_\sof\sthe\sissue.\n\nThe\sissue\sin\sthis\sreport\sis\s*not*\sthat\sreal\svalues\scan\sbe\sdistorted\sby\sloss\sof\s\ninternal\srepresentation;\sthat\swas\smerely\sa\s(AFAICT\sstandard)\smethod\sof\s\ndemonstrating\sthat\sthe\sissue\sexists;\sa\sway\sof\sexhibiting\sa\ssymptom.\sI\s\ncould\sinstead\shave\sused\sthe\s(less\sstandard,\sand\sthus\smore\sobscure)\s\nalternative\sof\slosing\sa\swide\sinternal\srepresentation\sof\s65536\s(as\sin\s\nRFE#866469)\sto\sdemonstrate\sthe\sissue,\sbut\sI\schose\snot\sto,\sbecause\sI\sfelt\s\nthat\sthat\scould\scloud\sthe\sissue.\sHowever\sin\sview\sof\show\sthis\sreport\shas\s\nbeen\sexamined,\sit\sseems\sit\swouldn't\shave\smattered;\sthe\sissue\sgot\sclouded\s\nby\sconcerns\sfor\ssymptoms\sanyway.\n\nThe\sactual\s_issue_,\sthat\sneither\sTIP#132\snor\sTIP#237\swill\saddress,\sis\sthat\s\nan\simpure\sreturn\svalue\sfrom\s[list]\scan\sin\ssome\scases\scause\san\sessentially\s\nconstant\stime\soperation\sto\seffectively\stake\slinear\stime,\sthus\s(if\sone\sis\s\nunlucky)\sincreasing\sthe\sexponent\sof\sjust\sabout\sany\spolynomial\stime\s\nalgorithm\sby\sone\swhen\simplemented\sin\sTcl.\sThe\sresponse\sfrom\sdgp\sthat\s\nTcl'ers\sshould\snot\sbe\sconcerned\swith\ssuch\smatters\sis\shopefully\snot\sa\swell\s\nthought\sthrough\sposition.\n\nOn\sthe\sbright\sside,\sTIP#157\s({expand})\swill\shopefully\slead\sto\sa\sdrastic\s\ndecrease\sin\sthe\snumber\sof\s[eval]\sconstructions\sthat\smay\sbe\sharmed\sby\san\s\nimpure\slist\sresult,\sso\sthe\sissue\sshould\sbecome\sless\sand\sless\simportant\s\nover\stime.\sI\sstill\smiss\san\sexplanation\sof\swhy\sTcl_ListObjCmd\sshould\shave\sa\s\nspecial\scase\sfor\sno\sarguments\showever.\sIs\sit\sjust\sa\scase\sof\soverdoing\s\noptimisation,\sor\sdoes\sanyone\shave\san\sactual\smotivation?\n\nAnd\sfor\sthe\srecord,\sin\scase\sanyone\swants\sa\s[list]\sequivalent\sthat\salways\s\nreturns\sa\spure\slist,\sthey\scan\sdo\n\s\s\sinterp\salias\s{}\slist\s{}\slreplace\sx\s0\s0\n
J login lars_h
J mimetype text/plain
J username lars_h
K 1143805fffffffffffffffffffffffffffffffff
U lars_h
Z 2d66586a3a0ddc0ecdea3d1c2c4762d4