An open API service indexing awesome lists of open source software.

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

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