Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:46259 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 5670 invoked from network); 1 Dec 2009 12:46:40 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 1 Dec 2009 12:46:40 -0000 Authentication-Results: pb1.pair.com header.from=yoarvi@gmail.com; sender-id=pass; domainkeys=bad Authentication-Results: pb1.pair.com smtp.mail=yoarvi@gmail.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain gmail.com designates 209.85.160.44 as permitted sender) DomainKey-Status: bad X-DomainKeys: Ecelerity dk_validate implementing draft-delany-domainkeys-base-01 X-PHP-List-Original-Sender: yoarvi@gmail.com X-Host-Fingerprint: 209.85.160.44 mail-pw0-f44.google.com Received: from [209.85.160.44] ([209.85.160.44:59089] helo=mail-pw0-f44.google.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 9D/41-24347-E20151B4 for ; Tue, 01 Dec 2009 07:46:39 -0500 Received: by pwj15 with SMTP id 15so2723823pwj.23 for ; Tue, 01 Dec 2009 04:46:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=Kr6xH1gMfDRnSNmcH/l17QVqq67dOH4UlBeKK7gPyQg=; b=q3NyfWfmAzN0K6ycqsCZwqfEaJWSxRg8E/bMApvwITPrYZHRPqcyn4RxlvNo3GAQR7 qdv+h7I0wLAzo77fpy3hq6QJ8TPxrvfOVuK0h7NdWOoUzyZisdqXglr98+QuQwizjm4+ 3NdzAcIbLHoRx9o1QsTKFewDc6jiSWHQMaqCQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=fCnfXL2yRxCYZXebw3cou3IVfXP793SwPV0UIqIIF2fuoL5ZWJ4l6wzuh3dNDJDsQx W+EqhMIw+KMkNhTt/IQkqnDvGavhy8AF06N7mFW5zBG4bvvOmXIIydCETJtTA7S9aopu xJ9189iKkPqbNGiwwLuY5rY3sPvq0pvrkj5P8= MIME-Version: 1.0 Received: by 10.142.4.41 with SMTP id 41mr573986wfd.123.1259671594489; Tue, 01 Dec 2009 04:46:34 -0800 (PST) In-Reply-To: <1259669142.2291.9.camel@guybrush> References: <1259669142.2291.9.camel@guybrush> Date: Tue, 1 Dec 2009 18:16:34 +0530 Message-ID: To: internals@lists.php.net Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Subject: Re: [PHP-DEV] [PATCH] - Improving multi-threaded performance by propagating TSRMLS_C From: yoarvi@gmail.com (Arvind Srinivasan) 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 =A0 TSRMLS_D, >> +#define TSRMLS_CC1 =A0 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