You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm planing to do this. At the moment vector copy() method ( for JS target) use blit() not slice() which give worse performance ( related to HaxeFoundation/haxe#8040 (comment))
Done. Get performance boost mostly fot Java , C# and Python.
Here are some test values for Java:
New vs Old
BlowFish - 0.92s vs 2.89s
Ripemd160 - 0.80s vs 1.01s
TwoFish - 0.12s vs 0.22s
TripleDes - 1.88s vs 3.48s
Sha512 - 0.16s vs 0.21s
Sha384 - 0.13s vs 0.22s
Sha256 - 0.11 vs 0.19s
Sha224 - 0.13s vs 0.20s
E.g. here: https://github.com/HaxeFoundation/crypto/blob/master/src/haxe/crypto/Aes.hx#L10
Vector is significantly faster on some targets.
The text was updated successfully, but these errors were encountered: