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
Maybe there is a more pythonic way to do the CBD as this seems too slow, and is the bottleneck for keygen and encapsulated. I think the main culprit is the bytes_to_bits() method needed at the moment.
GiacomoPope
changed the title
Centered Binomial Distribution is the slowest part of keygen
Centered Binomial Distribution Sampling is slow
Jul 22, 2024
By swapping the iterator with a slice in #45 some improvements were made. The obvious next thing would be to work with the bytes directly rather than sampling into bits first. This should be faster.
Maybe there is a more pythonic way to do the CBD as this seems too slow, and is the bottleneck for keygen and encapsulated. I think the main culprit is the
bytes_to_bits()
method needed at the moment.The text was updated successfully, but these errors were encountered: