We use cookies to ensure you have the best browsing experience on our website. Please read our cookie policy for more information about how we use cookies.
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.
Gemstones
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.