Skip to content

Conversation

czurnieden
Copy link
Contributor

Can also be used to decrease runtime for mp_radixsize from O(n^2) to O(log n) (mp_ilogb uses a simple binary search). Some empirical tests show a cutoff useing mp_ilogb at about 100 limbs (MP_64BIT) which is a lot.

@sjaeckel sjaeckel merged commit d999fed into libtom:develop Apr 10, 2019
@fperrad fperrad mentioned this pull request Apr 10, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants