Did you read the code for the underlying gmp c code? And associated c APIs?
On Sun, 19 Jun 2016, David Feuer wrote:
Your quick look is insufficient. There are custom implementations of bit setting and clearing operations that use GMP primitives instead of the Data.Bits defaults.
I have seen them, but the expensive operations like 'union' and 'difference' are not optimized, right? They would benefit from CPU vector instructions.