Repetitive calling of Z_STRLEN_P(value) in ext/filter/logical_filter.c

From: Date: Wed, 07 Apr 2010 16:07:33 +0000
Subject: Repetitive calling of Z_STRLEN_P(value) in ext/filter/logical_filter.c
Groups: php.internals 
Request: Send a blank email to internals+get-47824@lists.php.net to get a copy of this message
Hey, Sorry for pestering with excessive questions, but I've not done a lot of C programming. In filter.c, specificalyl in php_filter_validate_ip(), Z_STRLEN_P(value) gets called a lot. I know compilers tend to inline short functions, but are they smart enough to assign a variable to a repetive macro expansion? Justin

« previous php.internals (#47824) next »