Skip to content

Commit

Permalink
Booltest related functions added
Browse files Browse the repository at this point in the history
- count(1) is more effective
- fast copy of the vector contents
- fast operations: (A op B).count(1), where op is AND, OR, XOR
- eval all terms
  • Loading branch information
ph4r05 committed Jan 14, 2020
1 parent aa6f832 commit 0b93c3a
Show file tree
Hide file tree
Showing 3 changed files with 697 additions and 7 deletions.
3 changes: 2 additions & 1 deletion bitarray/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
Author: Ilan Schnell
"""
from bitarray._bitarray import _bitarray, bitdiff, bits2bytes, _sysinfo
from bitarray._bitarray import _bitarray, bitdiff, bits2bytes, _sysinfo, eval_all_terms


__version__ = '1.2.2'

Expand Down
Loading

0 comments on commit 0b93c3a

Please sign in to comment.