home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   comp.compilers      Compiler construction, theory, etc. (Mod      2,753 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 1,769 of 2,753   
   Derek M. Jones to All   
   Re: Switch statement code generation   
   11 Nov 09 12:39:12   
   
   From: derek@knosof.co.uk   
      
   All,   
      
   Working out the best set of algorithms to use for mapping   
   switch statements to machine code obviously requires   
   information on switch statement usage in real code.   
      
   The latest issue of CVu, the magazine of he ACCU   
   www.accu.org, has an article by yours truely comparing   
   the usage of switch statements and nested if-else-if sequences   
   in C code.   
      
   You need to be an ACCU member to access the article (yearly   
   membership #25 or #35 if you want both magazines).  I will   
   make a pdf freely available in a month or so.   
      
   While I'm talking about stuff I have written, switch statement code   
   generation gets a mention in this:   
   shape-of-code.coding-guidelines.com/2009/09/register-vs-stack-based-vms/   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca