https://github.com/rudxain/proposal-boolean-typed-array
https://github.com/rudxain/proposal-boolean-typed-array
array-view bool buffer ecmascript javascript js tc39
Last synced: 6 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/rudxain/proposal-boolean-typed-array
- Owner: Rudxain
- License: mit
- Created: 2022-12-21T03:26:44.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2022-12-21T04:47:00.000Z (about 3 years ago)
- Last Synced: 2025-01-21T06:43:16.471Z (about 1 year ago)
- Topics: array-view, bool, buffer, ecmascript, javascript, js, tc39
- Language: HTML
- Homepage: https://Rudxain.github.io/proposal-boolean-typed-array
- Size: 15.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# BooleanArray
## Motivation
> to-do
## Pros & Cons
> to-do
## Limitations
> to-do
## Optimization
Engines are allowed to compress the bitset. The actual encoding/compression-algorithm is implementation-defined.
All implementations **must** encode each bool in 1bit or less. That is, allocating 1Byte for each bool is explicitly forbidden, because that would make `BYTES_PER_ELEMENT` misleading