Re: [RFC] Internal operator overloading and GMP improvements
| From: | Antony Dovgal | Date: | Sun, 12 May 2013 17:50:11 +0000 |
| Subject: | Re: [RFC] Internal operator overloading and GMP improvements | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-67403@lists.php.net to get a copy of this message | ||
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