Bitpacked Data

bearophileHUGS at lycos.com bearophileHUGS at lycos.com
Sun Mar 11 20:18:59 EDT 2007


Bjoern Schliessmann:
> I'd use the module struct, with bit shifting operators to extract
> the bits.

Maybe Pyrex can be used to create a small module that can manage
similar bitfields quickly and with a syntax not too much far from the
Erlang bit syntax.

Bye,
bearophile




More information about the Python-list mailing list