awesome-bits icon indicating copy to clipboard operation
awesome-bits copied to clipboard

add enumerating all submasks

Open shinichi1729 opened this issue 1 year ago • 0 comments

Title: Implemented Bitwise Fast Enumeration of submasks

Description: I've implemented a fast enumeration method for all submasks by taking advantage of bit properties.

Example: n = 13 (1101) s $\in$ {13 (1101), 12 (1100), 9 (1001), 8 (1000), 5 (101), 4 (100), 1}

shinichi1729 avatar Jul 26 '23 08:07 shinichi1729