Although large bitstrings are stored efficiently smaller ones aren't.
The overhead, due to things like __dict__ members etc. is not far off 400 bytes
per instance, that is
a = Bits(True)
will take almost 400 bytes of memory(!)
Investigate reducing this. First thing to look at would be __slots__. Then
maybe interning.
Original issue reported on code.google.com by dr.scott...@gmail.com on 21 Jun 2010 at 6:15
Original issue reported on code.google.com by
dr.scott...@gmail.com
on 21 Jun 2010 at 6:15