Bit arrays.

Moshe Zadka moshez at math.huji.ac.il
Fri Feb 11 04:15:17 EST 2000


On Fri, 11 Feb 2000 rdudfield at my-deja.com 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 geocities.com>. 
INTERNET: Learn what you know.
Share what you don't.





More information about the Python-list mailing list