Related articles |
---|
Optimization of "switch" stmt in C mayur_naik@my-deja.com (1999-09-20) |
Re: Optimization of "switch" stmt in C ast@halcyon.com (Andrew Tucker) (1999-09-20) |
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) |
[2 later articles] |
From: | mayur_naik@my-deja.com |
Newsgroups: | comp.compilers |
Date: | 20 Sep 1999 12:14:46 -0400 |
Organization: | Deja.com - Share what you know. Learn what you don't. |
Keywords: | C, optimize, question |
Hello,
Could any one give me references to web-sites / papers / books
which discuss the optimization of the "switch" stmt in C?
GNU CC generates a switch table, a binary search, or a linear
search for a switch stmt. I want to understand the exact algorithm.
Any help is greatly appreciated.
Thanks and regards,
Mayur
Return to the
comp.compilers page.
Search the
comp.compilers archives again.