BitVector

Paul Rubin http
Mon Mar 10 14:05:08 EDT 2008


John Machin <sjmachin at lexicon.net> writes:
> Bitwise operations like & | ^ << >> etc work on long integers. This
> happens at C speed. 

The problem is if you want to set a bit, you have to allocate a whole
new long integer.



More information about the Python-list mailing list