[Python-ideas] IntFlags
Greg Ewing
greg.ewing at canterbury.ac.nz
Fri Mar 6 02:36:14 CET 2015
On 03/06/2015 01:41 PM, Serhiy Storchaka wrote:
>
> bitset in C++ and BitSet in Java are fixed-size arrays of booleans. They
> support such operations as changing a range of bits, but are not compatible
> with ints and sets.
Java has an EnumSet, which is closer to what we're talking about. It
supports set operations and uses a bit vector internally.
--
Greg
More information about the Python-ideas
mailing list