This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients Ramchandra Apte, abarnert, christian.heimes, cowlicks, georg.brandl, gregory.p.smith, gvanrossum, josh.r, martin.panter, pitrou, rhettinger, serhiy.storchaka, socketpair, terry.reedy, vstinner
Date 2016-04-26.19:25:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <CAMpsgwb+OuKTnpxxLtTU2k2-SL8KjD2XvrKwJSMoOezpRkW0XA@mail.gmail.com>
In-reply-to <1461607246.49.0.364462435646.issue19251@psf.upfronthosting.co.za>
Content
>> If yes, maybe we should start with a module on PyPI. Is there a volunteer to try this option?
>
> bitsets – ordered subsets over a predefined domain

This is an array of *bits*, not an array of bytes (or integers).

> bitarray – efficient boolean array implemented as C extension

This one is also an array of *bits*, but I see .frombytes() and
.tobytes() methods.

> bitstring – pure-Python bit string based on bytearray

Array of *bits*. I don't see how to use an array of integers (or a
byte string) with it.

> BitVector – pure-Python bit array based on unsigned short array
> Bitsets – Cython interface to fast bitsets in Sage
> bitfield – Cython positive integer sets
> intbitset – integer bit sets as C extension

I'm too lazy to check these ones.

I didn't check these modules support operations like x^y.

> Is it enough? Ah, and NumPy.

I'm quite sure that NumPy supports operations like x^y ;-) And NumPy
supports a wide choices of arrays.

Victor
History
Date User Action Args
2016-04-26 19:25:58vstinnersetrecipients: + vstinner, gvanrossum, georg.brandl, rhettinger, terry.reedy, gregory.p.smith, pitrou, christian.heimes, socketpair, Ramchandra Apte, martin.panter, serhiy.storchaka, abarnert, josh.r, cowlicks
2016-04-26 19:25:58vstinnerlinkissue19251 messages
2016-04-26 19:25:58vstinnercreate