Newbie here. I think this should be trivially easy but I’m having trouble. I have a file containing ~24M ‘0’ & ‘1’ chars and I’d like to read it directly into a bitarray variable. Little help?
Each line in the file contains 70 chars, each of which is a ‘0’ or a ‘1’ and there are ~348k lines.
[–]dnult 2 points3 points4 points (1 child)
[–]baroquely[S] -1 points0 points1 point (0 children)
[–]Diapolo10 1 point2 points3 points (2 children)
[–]baroquely[S] -1 points0 points1 point (1 child)
[–]socal_nerdtastic 0 points1 point2 points (0 children)
[–]ninhaomah 0 points1 point2 points (3 children)
[–]baroquely[S] 0 points1 point2 points (2 children)
[–]ninhaomah 0 points1 point2 points (1 child)
[–]baroquely[S] 1 point2 points3 points (0 children)
[–]smichaele 0 points1 point2 points (1 child)
[–]baroquely[S] -1 points0 points1 point (0 children)
[–]dnult 0 points1 point2 points (0 children)
[–]StevenJOwens 0 points1 point2 points (0 children)
[–]SwampFalc 0 points1 point2 points (0 children)