On Mon, 12 Oct 2026 03:34:28 GMT, Shawn Emery <[email protected]> wrote:

>> Cool - very impressive performance improvements!
>
>> Cool - very impressive performance improvements!
> 
> Thank you.  I've since made an additional change that eliminates a temporary 
> object which results in an additional ~13% improvement  for both 
> architectures tested.
> 
> @vpaprotsk could you please review these changes as your optimization work 
> with the P-256 curve in Java makes you a prime (no pun intended) candidate 
> for review of these changes.

@smemery Looks good so far... I wrote myself a fuzz test (modified my 
montgomery p256 one really) and everything is passing after some very long 
runs. 

Want to stare at the code a bit more though, this one was tricky bit of 
machinery and the negative biasing always tripped me up. (PS: I wonder.. what 
would it take to get the whole generator up to 64 bits? You might already be 
halfway there?)

-------------

PR Comment: https://git.openjdk.org/jdk/pull/33193#issuecomment-6180656056

Reply via email to