blockblaz / blockblaz/ssz.zig

Use pointer to Bounded Array instead of ArrayList

Open
#47 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Zig
Stars
34
Forks
17
PR merge metrics
No merged PRs in 30d

Description

In #43 we decided to merge the PR in spite of its design issues, and the fact it wasn't future-proof.

What should be done:

* Use `*BoundedArray` instead
* Offer an `ArrayList`-backed `List` type for when the size of the object is too large and pre-allocating everything is too costly. This should eventually be deprecated.
* Convert `ArrayList` to whatever replaces it in 0.15.1

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.