Socket
Book a DemoInstallSign in
Socket

bitvectorset

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

bitvectorset

Efficient immutable sets as bit-vectors

pipPyPI
Version
1.0.2
Maintainers
1

Bit-vector sets

Efficient implementation of immutable sets using bit-vectors.

It follow the same specification as set and frozenset.

A = BitVectorSet((0,2,4))
# {0, 2, 4}

B = BitVectorSet((0,1,2))
# {0, 1, 2}

print("Intersection:", A & B)
# {0, 2}

See the demo and tests for further informations.

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts