Skip to content
Tcl Source Code Artifact [2df76c8ebd]
Login

Artifact [2df76c8ebd]

Artifact 2df76c8ebd50659de4352c28149573eb97afc2fb:

Ticket change [2df76c8ebd] - Ticket [1692378fffffffff|1692378fff] <i>Drastical switch command performance regression</i> status still Open with 4 other changes by martinlemburg on 2007-04-02 21:04:16.
D 2007-04-02T21:04:16
J icomment Logged\sIn:\sYES\s\nuser_id=802134\nOriginator:\sNO\n\nUsing\sthe\stclkit\s8.5a4\s(version\staken\sfrom\s[info\spatchlevel])\sI\shave\sno\sperformance\sregression\sat\sall:\n\n\s\s\s\s%\sputs\s[time\s{p\s"a"}\s100000]\s;#\smatching\scase\n\s\s\s\s1.62821\smicroseconds\sper\siteration\n\s\s\s\s%\sputs\s[time\s{p\s"x"}\s100000]\s;#\snon-matching\scase\n\s\s\s\s1.72318\smicroseconds\sper\siteration\n\nI\smostly\suse\sswitch\swith\sits\s-exact\soption\s-\smostly,\sbecause\sI\sseldom\sneed\sswitch\swith\sother\smatching\smechanisms.\nHere\sthe\stiming\sresults\susing\sswitch\swith\s-exact:\n\n\s\s\s\s%\sputs\s[time\s{p\s"a"}\s100000]\s;#\smatching\scase\n\s\s\s\s1.4099\smicroseconds\sper\siteration\n\s\s\s\s%\sputs\s[time\s{p\s"x"}\s100000]\s;#\snon-matching\scase\n\s\s\s\s2.25362\smicroseconds\sper\siteration\n\nWhere\sas\sI\sdon't\sunderstand\sthe\sincreased\sruntime\sconsumption\sfor\sa\snon\smatching\scase.\n
J login martinlemburg
J mimetype text/plain
J username martinlemburg
K 1692378fffffffffffffffffffffffffffffffff
U martinlemburg
Z a6c91bfab3dddc90387fc66c7867a5f8