<div dir="ltr"><div dir="ltr"><div>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.</div><div><br></div><div>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.</div><div><br></div><div>Thanks,</div><div><br></div><div>Johannes</div><div><br></div>[1] <a href="https://mail.openjdk.org/pipermail/core-libs-dev/2025-January/139074.html" target="_blank">https://mail.openjdk.org/pipermail/core-libs-dev/2025-January/139074.html</a></div><div dir="ltr">[2] <a href="https://github.com/openjdk/jdk/pull/25173">https://github.com/openjdk/jdk/pull/25173</a></div>
</div>