mirror of
https://github.com/php/php-src.git
synced 2024-09-21 18:07:23 +00:00
a66439adbb
Since freeing can deal with NULL, we can avoid calling bc_init_num and avoid resetting the number during parsing. Using benchmark from #14076. Before: ``` 1.544440984726 2.0288550853729 2.092139005661 ``` After: ``` 1.5324399471283 1.9081380367279 2.065819978714 ``` |
||
---|---|---|
.. | ||
libbcmath | ||
tests | ||
bcmath_arginfo.h | ||
bcmath.c | ||
bcmath.stub.php | ||
config.m4 | ||
config.w32 | ||
CREDITS | ||
php_bcmath.h |