Date: 01/28/00
- Next message: Charles Hagenbuch: "[PHP-DEV] cvs: /php3/functions php3_mcal.c"
- Previous message: Charles Hagenbuch: "[PHP-DEV] cvs: /php3/functions php3_mcal.c php3_mcal.h"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
At 09:00 AM 1/28/00 -0500, rasmus <email protected> wrote:
> > Do you guys know a way to hint to GCC that the values the switch() will
> get
> > will always be one of the case: statements so that it can optimize it?
> > I found a way in Visual C++ and it made the switch() statement 5 opcodes
> > instead of 10.
>
>I deleted your previous commit msg a little too fast. How do you do this
>hint in Visual C++?
>
>-Rasmus
#if (WINNT|WIN32)
default:
__assume(0);
break;
#endif
--- Andi Gutmans <andi <email protected>> http://www.zend.com/-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: Charles Hagenbuch: "[PHP-DEV] cvs: /php3/functions php3_mcal.c"
- Previous message: Charles Hagenbuch: "[PHP-DEV] cvs: /php3/functions php3_mcal.c php3_mcal.h"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

