Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/scopatz/nitarray
N-sized 'bit' arrays
https://github.com/scopatz/nitarray
Last synced: about 1 month ago
JSON representation
N-sized 'bit' arrays
- Host: GitHub
- URL: https://github.com/scopatz/nitarray
- Owner: scopatz
- License: wtfpl
- Created: 2011-03-20T01:45:40.000Z (over 13 years ago)
- Default Branch: master
- Last Pushed: 2011-03-25T04:51:50.000Z (over 13 years ago)
- Last Synced: 2024-04-14T14:43:24.656Z (7 months ago)
- Language: Python
- Homepage:
- Size: 238 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: readme.rst
- License: license.txt
Awesome Lists containing this project
README
===================================
nitarray: a base n 'bit' array type
===================================
This project asks the question 'What if computer architecture weren't binary?'
Rather than having 2-bits as the fundamental unit, what if there were 3-bits,
4-bits, etc. This package provides N-bit (nit) arrays as well and hooks into
encoding and decoding these arrays.The nitarrays are stored efficiently in memory by using the minimum number
of physical bits possible. To do this without too much headache, we
rely on the bitarray package by Ilan Schnell.