[php-src] PR #14157: Simplify conversion in BCMath
| From: | nielsdos | Date: | Mon, 06 May 2024 18:16:43 +0000 |
| Subject: | [php-src] PR #14157: Simplify conversion in BCMath | ||
| Groups: | php.git-pulls | ||
| Request: | Send a blank email to git-pulls+get-26053@lists.php.net to get a copy of this message | ||
Pull Request: https://github.com/php/php-src/pull/14157
Author: nielsdos
This simplifies the code, and also might indirectly improve performance due to a decrease in
instruction cache pressure. Although the latter is probably negligible.
This works because 0x30 has no overlapping bits with [0, 9].