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
The multiplication function in a finite field currently checks in runtime what the limb size is, when its instead known at compile time as its a template parameter.
I don't know if this is optimized out by the compiler on all platforms, but if it isn't this is potentially quite bad for the instruction cache (in addition to slight overhead due to the branch-predicted conditional)
The text was updated successfully, but these errors were encountered:
The multiplication function in a finite field currently checks in runtime what the limb size is, when its instead known at compile time as its a template parameter.
Line where we check this:
libff/libff/algebra/fields/fp.tcc
Line 27 in 52d77c3
I don't know if this is optimized out by the compiler on all platforms, but if it isn't this is potentially quite bad for the instruction cache (in addition to slight overhead due to the branch-predicted conditional)
The text was updated successfully, but these errors were encountered: