Overview
| Artifact ID: | 99e28cd42902eb90014aca7cfb1eaf3c15bdf488 |
|---|---|
| Ticket: | 1820448fffffffffffffffffffffffffffffffff
TEBC: replace giant switch by computed goto |
| User & Date: | das on 2007-10-26 04:23:11 |
Changes
- assignee changed to: "msofer"
- cmimetype changed to: "text/plain"
- comment changed to:
The attached patch optionally replaces the giant switch in TEBC by a computed goto (GCC extension, also available e.g. in sun cc). This speeds up loops.bench by around 5% and the whole of tclbench by around 1% (on average) on my macosx powerpc. if this proves to be worthwhile on other platforms, I will add autoconf machinery to detect if computed gotos are available, for now control use of computed gotos via the USE_COMPUTED_GOTO #define at line 193
- foundin changed to: "None"
- is_private changed to: "0"
- priority changed to: "5 Medium"
- resolution changed to: "None"
- status changed to: "Open"
- submitter changed to: "das"
- subsystem changed to: "47. Bytecode Compiler"
- title changed to: "TEBC: replace giant switch by computed goto"
- type changed to: "Patch"