You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Due to the problems with the std binary representation of integers in Python, I'm walking around the BitArrays using a string to represent in binary a given number (ensuring the availability of the first upper zeros). In Python, the binary representation starts from the first 1 in the binary number, missing all the zeros before it.
Ideally, I should treat that string as an array of booleans, which should perform a bit better.
The text was updated successfully, but these errors were encountered:
Description
Due to the problems with the std binary representation of integers in
Python
, I'm walking around the BitArrays using a string to represent in binary a given number (ensuring the availability of the first upper zeros). InPython
, the binary representation starts from the first1
in the binary number, missing all the zeros before it.Ideally, I should treat that string as an array of booleans, which should perform a bit better.
The text was updated successfully, but these errors were encountered: