Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:67403 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 92834 invoked from network); 12 May 2013 17:50:17 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 12 May 2013 17:50:17 -0000 Authentication-Results: pb1.pair.com header.from=tony@daylessday.org; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=tony@daylessday.org; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain daylessday.org from 77.88.61.37 cause and error) X-PHP-List-Original-Sender: tony@daylessday.org X-Host-Fingerprint: 77.88.61.37 forward7.mail.yandex.net Received: from [77.88.61.37] ([77.88.61.37:46388] helo=forward7.mail.yandex.net) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 87/73-55400-756DF815 for ; Sun, 12 May 2013 13:50:16 -0400 Received: from smtp8.mail.yandex.net (smtp8.mail.yandex.net [77.88.61.54]) by forward7.mail.yandex.net (Yandex) with ESMTP id EDA141C18BB for ; Sun, 12 May 2013 21:50:11 +0400 (MSK) Received: from smtp8.mail.yandex.net (localhost [127.0.0.1]) by smtp8.mail.yandex.net (Yandex) with ESMTP id D2EC51B60769 for ; Sun, 12 May 2013 21:50:11 +0400 (MSK) Received: from 95-25-104-68.broadband.corbina.ru (95-25-104-68.broadband.corbina.ru [95.25.104.68]) by smtp8.mail.yandex.net (nwsmtp/Yandex) with ESMTP id L1EDpw5RRb-oBOGCmSj; Sun, 12 May 2013 21:50:11 +0400 Message-ID: <518FD653.6070705@daylessday.org> Date: Sun, 12 May 2013 21:50:11 +0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130329 Thunderbird/17.0.5 MIME-Version: 1.0 To: internals@lists.php.net References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: [PHP-DEV] [RFC] Internal operator overloading and GMP improvements From: tony@daylessday.org (Antony Dovgal) On 2013-05-12 19:25, Nikita Popov wrote: > Hi internals! > > https://wiki.php.net/rfc/operator_overloading_gmp > > This RFC proposes to add operator overloading for INTERNAL classes. > Furthermore it exemplarily implements the new API for GMP. IMO the proposal B is quite reasonable change, but the proposal A (i.e. the operator overloading part) is definitely an overkill. A simple benchmark should demonstrate that using GMP for basic arithmetic would kill performance in quite a brutal way. -- Wbr, Antony Dovgal --- http://pinba.org - realtime profiling for PHP