How to use the bitarray.bitarray.bitarray function in bitarray

To help you get started, we’ve selected a few bitarray examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github mkroetzsch / wda / includes / dbcurrentanalyzer.py View on Github external
def __init__(self):
		self.helper = processinghelper.ProcessingHelper()
		self.db = database.Database()

		self.dayStats = {}
		self.totalItems = 0
		self.startTime = 0

		self.processeditems = bitarray.bitarray(2**26) # about 30 M items
		self.processeditems.setall(0)

bitarray

efficient arrays of booleans -- C extension

Python-2.0
Latest version published 2 months ago

Package Health Score

91 / 100
Full package analysis