<i>tclPkgUnknown performance enhancement</i> status still Open with 5 other changes
by
.
D 2003-02-21T08:51:00
J assignee dgp
J icomment Logged\sIn:\sYES\s\nuser_id=68433\n\nLooks\sgood.\n\nAs\sdiscussed\son\sthe\schat,\syou\scan\ssave\ssome\sstat()\scalls\sby\nomitting\sboth\scalls\sto\s[file\sreadable\s$file],\ssince\nunreadable\spkgIndex.tcl\sfiles\sare\shandled\sby\sthe\ssubsequent\n"[catch\s{source\s$file}\s...]",\sat\sthe\scost\sof\sa\sminor\schange\nin\ssemantics\s(unreadable\spkgIndex\sfiles\swould\slog\serror\nmessages,\swhich\sthey\sdo\snot\sat\spresent.)\n\nThe\stest\sfor\slist\sequality\s(~line\s516)\scould\suse\sa\scomment;\nit's\snot\simmediately\sobvious\sfrom\sthe\scode\swhat's\sgoing\son.\n\nAnother\sway\sof\stesting\sfor\slist\sequality\sjust\soccurred\sto\sme:\n\n#\sCheck\sif\s$auto_path\shas\schanged:\nset\sequal\s[expr\s{[llength\s$old_path]\s==\s[llength\s$auto_path]}]\nif\s{$equal}\s{\n\s\s\s\sforeach\se1\s$old_path\se2\s$auto_path\s{\n\s\s\s\s\s\s\s\sif\s{[string\scompare\s$e1\s$e2]}\s{\n\s\s\s\s\s\s\s\s\s\s\s\sset\sequal\s0\n\s\s\s\s\s\s\s\s\s\s\s\sbreak\n\s\s\s\s\s\s\s\s}\n\s\s\s\s}\n}\n\nAnyway,\sback\sto\sDGP.\s\sThis\slooks\scomittable.\n
J login jenglish
J mimetype text/plain
J username jenglish
K 687906ffffffffffffffffffffffffffffffffff
U jenglish
Z d52b5c6728baac92b06080b22630be2c