Robbepop / apint

Arbitrary precision integers library.
Other
27 stars 4 forks source link

Finalize implementation of the division and remainder routines #27

Closed AaronKutch closed 5 years ago

AaronKutch commented 6 years ago

I have been working on an algorithm, and I made a version of it for 128 bit integers. On my computer, the benchmarks are showing it to be about 4.5 times faster than what rust currently uses (except for the mid and lo benchmarks which still show improvement). EDIT I now have the algorithm here https://github.com/AaronKutch/specialized-div-rem/blob/master/src/all_all.rs

Robbepop commented 5 years ago

I am always in favor of simplifications! Looking forward to see them in your next PR. :)

AaronKutch commented 5 years ago

Because of how much stuff is out of date here, I am continuing this in a new tracking issue.