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
Right now we use ChaCha20 for CRNG by default (i.e., when you call ChaChaStream()). This is fairly expensive compared to the default PRNG used by Julia (which uses Xoshiro256++).
It seems that Golang nowadays uses ChaCha8 for math/rand/v2 (golang/go#61716). Based on the discussion there, it'd probably be worth investigating whether we'd be better off using ChaCha8 instead of ChaCha20 for CRNG.
The text was updated successfully, but these errors were encountered:
I've gone ahead with making ChaCha8 the default in the dev branch, which should provide an amortized ~2.5x speedup over the previous default of ChaCha20.
Right now we use ChaCha20 for CRNG by default (i.e., when you call
ChaChaStream()
). This is fairly expensive compared to the default PRNG used by Julia (which uses Xoshiro256++).It seems that Golang nowadays uses ChaCha8 for math/rand/v2 (golang/go#61716). Based on the discussion there, it'd probably be worth investigating whether we'd be better off using ChaCha8 instead of ChaCha20 for CRNG.
The text was updated successfully, but these errors were encountered: