Re: [PATCH] - Improving multi-threaded performance by propagating TSRMLS_C

From: Date: Tue, 01 Dec 2009 12:46:34 +0000
Subject: Re: [PATCH] - Improving multi-threaded performance by propagating TSRMLS_C
References: 1 2  Groups: php.internals 
Request: Send a blank email to internals+get-46259@lists.php.net to get a copy of this message
hi johannes, > I'm not too happy about hiding the TSRM macro with another macro as it > makes reading the code harder. When writing code I want to spot easily > whether my function needs TSRM or not. > > When adding such a macro that should be done for making the code better > readable, not worse. > I'm currently working on getting rid of this change and instead explicitly passing TSRMLS_C. >> where >> +#define TSRMLS_DC1   TSRMLS_D, >> +#define TSRMLS_CC1   TSRMLS_C, > > Are there more cases of this? - If zend_get_parameters is the only case multi_convert_to_long_ex multi_convert_to_double_ex multi_convert_to_string_ex are the other use cases of this. thanks, arvi

« previous php.internals (#46259) next »