This is somewhat of followup to a conversation a few months ago [1]
regarding the non-existence of a BigDecimal.valueOf(float) method. While it
wasn't the primary issue, the matter of performance did come up.  Based on
that, I have been experimenting with making some improvements there.

I have a draft PR [2] open that leads to an improvement of around 6x for
me. If there is interest in this change, I would need someone to open a
JIRA for this.

Thanks,

Johannes

[1]
https://mail.openjdk.org/pipermail/core-libs-dev/2025-January/139074.html
[2] https://github.com/openjdk/jdk/pull/25173

Reply via email to