Skip to content
Tcl Source Code Artifact [99e28cd429]
Login

Artifact [99e28cd429]

Artifact 99e28cd42902eb90014aca7cfb1eaf3c15bdf488:

Ticket change [99e28cd429] - New ticket [1820448fffffffff|1820448fff] <i>TEBC: replace giant switch by computed goto</i>. by das on 2007-10-26 04:23:11.
D 2007-10-26T04:23:11
J assignee msofer
J cmimetype text/plain
J comment The\sattached\spatch\soptionally\sreplaces\sthe\sgiant\sswitch\sin\sTEBC\sby\sa\scomputed\sgoto\s(GCC\sextension,\salso\savailable\se.g.\sin\ssun\scc).\n\nThis\sspeeds\sup\sloops.bench\sby\saround\s5%\sand\sthe\swhole\sof\stclbench\sby\saround\s1%\s(on\saverage)\son\smy\smacosx\spowerpc.\n\nif\sthis\sproves\sto\sbe\sworthwhile\son\sother\splatforms,\sI\swill\sadd\sautoconf\smachinery\sto\sdetect\sif\scomputed\sgotos\sare\savailable,\sfor\snow\scontrol\suse\sof\scomputed\sgotos\svia\nthe\sUSE_COMPUTED_GOTO\s#define\sat\sline\s193\n\n
J foundin None
J is_private 0
J priority 5\sMedium
J resolution None
J status Open
J submitter das
J subsystem 47.\sBytecode\sCompiler
J title TEBC:\sreplace\sgiant\sswitch\sby\scomputed\sgoto
J type Patch
K 1820448fffffffffffffffffffffffffffffffff
U das
Z ef4e769a67ff0eba7af781bba0cef49e