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
--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php