Fastest way to convert a byte of integer into a list

Paul Rubin http
Thu Jul 12 23:14:51 EDT 2007


Godzilla <godzillaismad at gmail.com> writes:
> Regarding to the 32-bit number, the lenght is variable but it is
> usually defined at design time...

That you're trying to represent it as a list of bits at all is
weird, and probably likely to slow the program down.  You do know
that python has arbitrary sized ints, right?  



More information about the Python-list mailing list