Right now the extractors inputs and outputs python list of booleans. This is 1) not the most compact 2) not the most readable. We can create a new class behaves like it has type List[bool], but stores the bits compactly as bytes, and exports to different formats.
Then we adapt the extractors to output bits in this format.
(edit: see https://numpy.org/doc/2.3/reference/generated/numpy.packbits.html)
Right now the extractors inputs and outputs python list of booleans. This is 1) not the most compact 2) not the most readable. We can create a new class behaves like it has type
List[bool], but stores the bits compactly asbytes, and exports to different formats.Then we adapt the extractors to output bits in this format.
(edit: see https://numpy.org/doc/2.3/reference/generated/numpy.packbits.html)