On Mon, 28 Apr 2025 00:09:28 GMT, Johannes Graham <d...@openjdk.org> wrote:
> What about pre-seeding the cache with values for 1, 2 and 3? That would allow > unconditionally using fp here (and below) It's a good idea, but doing so would increase the already high dependence of `computePower()` by the preconditions given by `unsignedLongPow()`, so at this point I wonder if it will still make sense to maintain the code separated, rather than putting it in `unsignedLongPow()` and throw away `computePower()`... ------------- PR Review Comment: https://git.openjdk.org/jdk/pull/24690#discussion_r2063050038