Skip to content
Tcl Source Code Artifact [ec5ed05944]
Login

Artifact [ec5ed05944]

Artifact ec5ed05944d441b884d472d2906cc6990df00f08:

Ticket change [ec5ed05944] - Ticket [3380073fffffffff|3380073fff] <i>declining [expr] performance</i> status still Open with 4 other changes by ferrieux on 2011-07-28 01:31:50.
D 2011-07-28T01:31:50
J icomment OK,\sa\sbit\sof\shard\sfacts\sproving\sthat\sthis\sindeed\sorthogonal\sto\sthe\s[times]\soverhead:\nUsing\n\nproc\stime2\s{s\sn}\s{\n\s\s\s\sproc\s_tmp\s{}\s[format\s{\nset\sn\s%d\nwhile\s{[incr\sn\s-1]>=0}\s{%s}\n\s\s\s\s}\s$n\s$s]\n\s\s\s\sreturn\s[time\s_tmp]\n}\nputs\s[time\s{distance\s41.0\s-81.0\s42.0\s-82.0}\s100000]\nputs\s[time2\s{distance\s41.0\s-81.0\s42.0\s-82.0}\s100000]\n\nI\sget\sthe\sfollowing\spairs:\n=====\s8.5:\n4.97726\smicroseconds\sper\siteration\n491821\smicroseconds\sper\siteration\n=====\s8.6:\n6.82854\smicroseconds\sper\siteration\n663014\smicroseconds\sper\siteration\n\nSo,\sthough\sthe\sT_EOE\seffect\sis\sindeed\sa\sbit\sstronger\son\s8.6,\sthe\sbulk\sof\sthe\sslowdown\sis\sintrinsic.\n\nSecond\sdata\spoint:\sdisassembling\sshows\sexactly\sthe\ssame\sbytecodes.\n\n
J login ferrieux
J mimetype text/plain
J username ferrieux
K 3380073fffffffffffffffffffffffffffffffff
U ferrieux
Z 333a5eb6feda82ee460ab60b62d06193