Where should I put a `condp` like function?

deadalnix deadalnix at gmail.com
Thu Apr 18 07:26:07 PDT 2013


On Thursday, 18 April 2013 at 13:58:46 UTC, Idan Arye wrote:
> Naturally - even as statements, a `switch` statement without a 
> switch expression is no better than a chain of `if`-`else`s.
>

As mentioned before in other thread, LLVM is crazy good at 
transforming if/else chains into switch statement, and GCC does a 
good job at it as well.


More information about the Digitalmars-d mailing list