Using &LABEL

Doug Gwyn <gwyn> gwyn at brl-tgr.ARPA
Thu Sep 20 05:19:05 AEST 1984


I don't see that switch implementation is a C language definition issue.
The C compilers I use the most all generate different code for different
types of switches, generally in an attempt to optimize execution speed.

Having the user tell the compiler how to do this is terrible.  It is easy
to use switch for reasonably-sized "jump" tables and let the existing
switch optimization go to work.



More information about the Comp.lang.c mailing list