cucapra / cucapra/baa

Improve BitVecValue representation.

Open
#1 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Rust
Stars
9
Forks
2
Avg merge
2h 43m
Merged PRs (30d)
1

Description

Since we never resize the underlying vector, we should be able to use a `Box<[Word]>` and thus reduce the size of a `BitVecValue` from 32 to 24 bytes. This means that we have to implement the `SmallVec` optimization ourselves. This may best be accomplished by making an enum like `enum Data { U64(u64), U128(128), Big(Box<[Word]>) }`. This way, we may be able to improve the performance when executing operations on values with less than 128 bits.

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.