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.1.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.1-py3-none-any.whl (4.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: bitvectorset-1.0.1.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.1.tar.gz
Algorithm Hash digest
SHA256 e33e6dccf5090147019ff682e220e5b444fb628a22386565ce5d9b93af7e637d
MD5 9cc5b02a0caaf3901b116c644841510e
BLAKE2b-256 bceaaf2fce6345909c655719a1edb175b8733b78fba1dc840f54bf2bb96be062

See more details on using hashes here.

File details

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

File metadata

  • Download URL: bitvectorset-1.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.0 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.1-py3-none-any.whl
Algorithm Hash digest
SHA256 2aa8ef0b3c93d1f8f7e2ebccabd3e0d262f1b70fc3d39e99a5b9a8700f5345b9
MD5 9d890edd1d4757ef20a5849be76699dc
BLAKE2b-256 1984f5eead90ab0fc84684889598f92501320e0019aa971a880a96d1428337bd

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