From: | Dave Hanson <drh@microsoft.com> |
Newsgroups: | comp.compilers |
Date: | 5 Dec 1997 01:14:52 -0500 |
Organization: | Compilers Central |
References: | <clcm-19971204-0012@plethora.net> |
Keywords: | C, code |
Section 10.7 in our book "A Retargetable C Compiler: Design and
Implementation" (Addison-Wesley, 1995, ISBN 0-8053-1670-1;
http://www.cs.princeton.edu/software/lcc/) gives all the details on
generating code for C switch statements.
Good selection algorithms are described in Sampath Kannan and Todd
A. Proebsting, Correction to `Producing Good Code for the Case
Statement'. Software--Practice & Experience 24, 2 (Feb 1994), 233.
Ulfar Erlingsson, Mukkai Krishnamoorthy and T.V. Raman. Efficient
Multiway Radix Search Trees. Information Processing Letters 60, 3
(Nov. 1996), 115-120. and the citations therein.
dave hanson
Jakob <jakob@iar_.se> wrote in message <clcm-19971204-0012@plethora.net>...
> I would like to know if anybody knows of any references (articles,
> books, online sources) where information can be found about how to
> select implementation strategies for switch statements ...
--
Return to the
comp.compilers page.
Search the
comp.compilers archives again.