On Sun, May 12, 2013 at 7:50 PM, Antony Dovgal <t...@daylessday.org> wrote:
> 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.

Right, the difficulty here is to use it for large numbers only. It
reduces the impact for standard ranges but do not totally suppress it.

Cheers,
--
Pierre

@pierrejoye |  http://www.libgd.org

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to