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