Skip to main content

Efficient immutable sets as bit-vectors

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

bitvectorset-1.0.2.tar.gz (120.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

bitvectorset-1.0.2-py3-none-any.whl (4.1 kB view details)

Uploaded Python 3

File details

Details for the file bitvectorset-1.0.2.tar.gz.

File metadata

  • Download URL: bitvectorset-1.0.2.tar.gz
  • Upload date:
  • Size: 120.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for bitvectorset-1.0.2.tar.gz
Algorithm Hash digest
SHA256 0f07a2ded33044acd9b176fc384e984f572c5daa6f7914f634b7dd7d5dca2644
MD5 2741188cd2386c9bf050cb6db4f98fc3
BLAKE2b-256 f7782bd133e8c4eed810e20c7f5d67aea13edffec8f0656bcdd3569b66f7b45d

See more details on using hashes here.

File details

Details for the file bitvectorset-1.0.2-py3-none-any.whl.

File metadata

  • Download URL: bitvectorset-1.0.2-py3-none-any.whl
  • Upload date:
  • Size: 4.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.9

File hashes

Hashes for bitvectorset-1.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 e5911215f38f902095d947e95850f3689c192b6712cdb8f8e29d82cca6f1984b
MD5 ddc641b94d4ad164fdd39b2c106664c4
BLAKE2b-256 f33a1f2b2715d15e63b10b5157e643d86708436dd612d95a3cf89028a66f968d

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page