Now when powers of two are detected, bit-shifting is used instead. This theoretically induces a performance benefit, although I have not detected any when running the test suite locally. It is possible such benefits will only present in certain situations. It might also be that my hand-coded data structure for storing the digits is not that efficient, so maybe when we switch to std::vector, we will reap greater benefits.
Now when powers of two are detected, bit-shifting is used instead. This theoretically induces a performance benefit, although I have not detected any when running the test suite locally. It is possible such benefits will only present in certain situations. It might also be that my hand-coded data structure for storing the digits is not that efficient, so maybe when we switch to
std::vector
, we will reap greater benefits.Closes #43