stdlib-js / stdlib

✨ Standard library for JavaScript and Node.js. ✨
https://stdlib.io
Apache License 2.0
4.18k stars 405 forks source link

[RFC]: Add/Update package for `BooleanArray` support (tracking issue) #2304

Open Jaysukh-409 opened 1 month ago

Jaysukh-409 commented 1 month ago

Description

This RFC proposes add or update all packages that needs to be changed in order to add BooleanArray support to Stdlib. The purpose of this issue is to serve as a tracking issue for update or add packages.

Packages need to added:

Packages need to updated:

Related Issues

None

Questions

No.

Other

No.

Checklist

stdlib-bot commented 1 month ago

:wave: Hi there! :wave:

And thank you for opening your first issue! We will get back to you shortly. :runner: :dash:

kgryte commented 1 month ago

@Jaysukh-409 Looks like we also need to update various packages in @stdlib/array/base/assert/* to support boolean data types. Should add those packages to the list, as well.

kgryte commented 1 month ago

The list should also include:

kgryte commented 2 weeks ago

@Jaysukh-409 I updated the OP with additional array/base/* packages which need to be updated to specially handle BooleanArrays. I've added boolean array support to @stdlib/array/base/put and the updates to the various "base" packages will be along similar lines. Namely, where possible, reinterpreting a boolean array to allow more efficient element access.