title: python bit array (performant)
body: <p>I'm designing a bloom filter and I'm wondering what the most performant bit array implementation is in Python.</p>
  
  <p>The nice thing about Python is that it can handle arbitrary length integers out of the box and that's what I use now, but I don't know enough about Python internals to know if that's the most performant way to do it in Python. </p>
  
  <p>I found <a href="https://github.com/ilanschnell/bitarray/"><code>bitarray</code></a> but it handles a lot of other things like slicing, which I don't need. I only need the <code>&amp;</code> and <code>|</code> and <code>&lt;&lt;</code> operations. </p>