php / php/php-src

Indicate expected improvement in BcMath's performance

Open
#14,675 3 comments 1 reaction 1 assignee View on GitHub

@SakiTakamachi is already working on this.

Since Mar 28, 2025.

Extension: bcmath Feature Status: Needs Triage
Dominant language
C
Stars
40.4k
Forks
8.1k
Avg merge
2d 13h
Merged PRs (30d)
96

Description

Description

Hi, first of all, thanks a lot for all the work done on BcMath especially Saki Takamachi, nielsdos and Gina.
Currently NEWS file only include following about it:

Improve performance. (Saki Takamachi, nielsdos)

I think it should also tell by how much . It's because a person will likely think that improvement is modest if they just read above news entry. In reality, there is a great performance boost.
By including some benchmark, it will encourage people heavily using BcMath to update their PHP version sooner.
It will also help improve perception of "BCMath is slow" which it is not now.
Also spread more awareness.
Again thank a lot.

Cc @SakiTakamachi

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.