<p dir="ltr">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.</p>
<div class="gmail_quote">On Jun 19, 2016 10:45 AM, "Henning Thielemann" <<a href="mailto:lemming@henning-thielemann.de">lemming@henning-thielemann.de</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><br>
On Sun, 19 Jun 2016, David Feuer wrote:<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I know that Sergei Lebedev did quite a bit of work (for the bitset package) optimizing certain Integer bit operations. That code doesn't work with the new Integer, but it can probably be adapted.<br>
</blockquote>
<br>
>From a quick look, it simply gives names of set operation to existing Data.Bits methods on Integer. I cannot see much custom optimizations.<br>
</blockquote></div>