Re: Optimization of "switch" stmt in C

"Christopher W. Milner" <cmilner@virginia.edu>
1 Oct 1999 11:03:53 -0400

          From comp.compilers

Related articles
[2 earlier articles]
Re: Optimization of "switch" stmt in C jejones@microware.com (James Jones) (1999-09-20)
Re: Optimization of "switch" stmt in C jcownie@etnus.com (James Cownie) (1999-09-24)
Re: Optimization of "switch" stmt in C ger@informatik.uni-nospam-bremen.de (George Russell) (1999-09-24)
Re: Optimization of "switch" stmt in C vmakarov@cygnus.com (Vladimir Makarov) (1999-09-24)
Re: Optimization of "switch" stmt in C danielv@crt.umontreal.ca (Daniel Villeneuve) (1999-09-27)
Re: Optimization of "switch" stmt in C drh@microsoft.com (Dave Hanson) (1999-09-28)
Re: Optimization of "switch" stmt in C cmilner@virginia.edu (Christopher W. Milner) (1999-10-01)
| List of all articles for this month |

From: "Christopher W. Milner" <cmilner@virginia.edu>
Newsgroups: comp.compilers
Date: 1 Oct 1999 11:03:53 -0400
Organization: UVA
References: 99-09-081
Keywords: C, code, bibliography, comment

mayur_naik@my-deja.com wrote:
> Could any one give me references to web-sites / papers / books
> which discuss the optimization of the "switch" stmt in C?


I always liked Bernstein's SP&E paper:


@Article{SPE::Bernstein1985,
    title = "Producing Good Code for the Case Statement",
    author = "Robert L. Bernstein",
    journal = "Software---Practice and Experience",
    pages = "1021--1024",
    month = oct,
    year = "1985",
    volume = "15",
    number = "10",
}




Corrections found in:


@Article{SPE::KannanP1994,
    title = "Short Communication: Correction to {'Producing} Good
                                  Code for the case Statement', \emph{SPE}
                                  15:1021--1024",
    author = "Sampath Kannan and Todd A. Proebsting",
    journal = "Software---Practice and Experience",
    pages = "233",
    month = feb,
    year = "1994",
    volume = "24",
    number = "2",
}
[Sounds swell. I sure wish I could afford to subscribe to SP&E. -John]


Post a followup to this message

Return to the comp.compilers page.
Search the comp.compilers archives again.