Wanted: mutable bitmap

Tom Anderson twic at urchin.earth.li
Sun Sep 18 01:39:56 CEST 2005

On Sat, 17 Sep 2005, it was written:

> Tom Anderson <twic at urchin.earth.li> writes:
>> One thing that would be rather useful in various bits of programming 
>> i've done would be a mutable bitmap type. Am i right in thinking 
>> there's no such thing in the standard library? Is there an 
>> implementation out there somewhere else? Is there a hack for doing it 
>> with the stuff that is in the standard library?
> The obvious way is with the array module.

*bangs head against keyboard*

i've had a niggling feeling i should be paying more attention to that 
module for months now. yes, it would be very simple to implement a 
bitset on top of an array of integers. doh.


There is no strange thing.

More information about the Python-list mailing list