Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: 99e28cd42902eb90014aca7cfb1eaf3c15bdf488
Ticket: 1820448fffffffffffffffffffffffffffffffff
TEBC: replace giant switch by computed goto
User & Date: das on 2007-10-26 04:23:11
Changes

  1. assignee changed to: "msofer"
  2. cmimetype changed to: "text/plain"
  3. 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
    
    
    
  4. foundin changed to: "None"
  5. is_private changed to: "0"
  6. priority changed to: "5 Medium"
  7. resolution changed to: "None"
  8. status changed to: "Open"
  9. submitter changed to: "das"
  10. subsystem changed to: "47. Bytecode Compiler"
  11. title changed to: "TEBC: replace giant switch by computed goto"
  12. type changed to: "Patch"