Bit arrays.

Moshe Zadka moshez at
Fri Feb 11 10:15:17 CET 2000

On Fri, 11 Feb 2000 rdudfield at wrote:

> Hello,
> Just wondering if there is an efficient way in python to represent
> arrays or lists of bits?

Try using long integers, but be sure to make that into a class.
After it works, and if it's too slow, you can recode it in C.
Moshe Zadka <mzadka at>. 
INTERNET: Learn what you know.
Share what you don't.

More information about the Python-list mailing list