C switch() statement

From: Date: Fri, 28 Jan 2000 13:42:10 +0000
Subject: C switch() statement
Groups: php.dev 
Request: Send a blank email to php-dev+get-14975@lists.php.net to get a copy of this message
Hi, 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. Andi --- Andi Gutmans <andi@zend.com> http://www.zend.com/

« previous php.dev (#14975) next »