Tcl Source Code

Artifact [4ff704a936]
Login

Artifact 4ff704a9368d3ea503b608ca2afa2d7b51e5ec5a:

Ticket change [4ff704a936] - Open ticket [f00009f7ce]: file exists, mtime... procedures leaks plus 5 other changes by sebres 2015-07-30 15:39:04.
D 2015-07-30T15:39:04.633
J closer nobody
J icomment Not\sso\sfast,\sbecause\sseems\sto\sbe\snot\sso\seasy\sto\sfix...\r\n\r\nThat\sfixes\sa\sleak\sonly\sif\sI\sgive\sthis\sline\sdirect\sin\sstdin\sinside\stclsh:\r\n%\stime\s{file\sexists\s[string\strim\s"C:/example.txt\s"]}\s100000\r\n\r\nIf\sI\sdo\sthe\ssame\sin\sa\sfile\s(for\sexample\s"test"),\sand\sexecute\sit\svia\s`source\stest`,\sit\sleaks\sagain.\r\nPossible\sanother\sconstellation\sregarding\sof\sobjects,\sor\srefcounts\s(history\sinvolved)\sor\sliterals,\setc.\r\n\r\nVery\sstrange\salso,\sthat\sthe\stests\shave\sdifferent\sexecution\stimes\s(constantly\s\sreproducible):\r\n-\swith\sleaks\s(%\ssource\s...):\s16.03923\smicroseconds\sper\siteration\r\n-\sw/o\sleaks\s(%\stime\sdirect):\s90.1751\smicroseconds\sper\siteration\r\n\r\nBut\sa\s1\syear\solder\sbranch\sdoes\sthe\ssame\swithout\sleaks\swithin\s15ms\salso!
J login sebres
J mimetype text/plain
J resolution Wont\sFix
J status Open
K f00009f7ce4b58c8b6caedf976e37ea78be6d3c0
U sebres
Z 3ee2b8608d96432beb7c2f696519a028