You are viewing a single comment's thread. Return to all comments →
Both C++'s bitset and Java's BitSet are similar. C++ performs better, you need to write less code because it supports operator overloading. But Java's library is always supporting more functionality even though you are writing more code. There are many functions added into Java BitSet. So, they are kind of cancel out when choosing what language to use.