Documentation
¶
Overview ¶
The type of each word used by IntSet is uint64, but 64-bit airthmetic may be ineffictinetn on a 32-bit platform. Modify the program to use the uint type, which is the most efficent unsigned interger type for the platform. Instead of dividying by 64, define a constant holding the effective size of unint in bits, 32, or 64. You can use the perhaps too-clever expression 32 << (^uint(0) >> 63) for this purpose.
Click to show internal directories.
Click to hide internal directories.