Skip to content

Extend BitVecMutOps to support in place operations#3

Merged
ekiwi merged 1 commit intocucapra:mainfrom
zihan0822:in-place-ops
Jul 22, 2025
Merged

Extend BitVecMutOps to support in place operations#3
ekiwi merged 1 commit intocucapra:mainfrom
zihan0822:in-place-ops

Conversation

@zihan0822
Copy link
Contributor

Introduce a family of _in_place operations to allow operations to directly store their results on pre-allocate bitvector of correct width. The suffix _in_place might be a bit misleading tho, people might misinterpret add_in_place to have similar semantics as std::ops::AddAssign. They can tell the difference from the parameter list.

Signed-off-by: Zihan <zihanli0822@gmail.com>
@ekiwi ekiwi merged commit 89ecd2d into cucapra:main Jul 22, 2025
20 checks passed
@ekiwi
Copy link
Collaborator

ekiwi commented Jul 22, 2025

The naming is a bit confusing, but I think we should include this new ops anyways.

@zihan0822 zihan0822 deleted the in-place-ops branch July 23, 2025 20:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants