[php-src] PR #11993: Bcmath pow improvements

From: Date: Thu, 17 Aug 2023 23:04:43 +0000
Subject: [php-src] PR #11993: Bcmath pow improvements
Groups: php.git-pulls 
Request: Send a blank email to git-pulls+get-23403@lists.php.net to get a copy of this message
Pull Request: https://github.com/php/php-src/pull/11993 Author: jorgsowa This PR improves the performance of the BCMath function bcpow. We don't need to perform usual multiplication when we square them. I implemented faster version of multiplication of the same number. The function bc_quare is faster about 3,4% in [one of my benchmark](https://github.com/jorgsowa/php-benchmarks/blob/main/bcpow/README.md?plain=1) when I run bcpow of 10000 numbers with the exponent of 16.

« previous php.git-pulls (#23403) next »