Hello, and thanks for bitv.
I'm wondering whether supporting in place bitwise operations would be a good fit for this library.
To give an example with and, I'm thinking something like creating a new alterative to add to the currently supported functional operator:
and add support for a new function:
val bw_inplace_and : mutates:t -> t -> unit
Similarly to the existing bw_and, this inplace operation would only be valid for operands of the same lengths.
I would think this pattern would apply to the other bitwise operations in the library (or, xor, not).
Please let me know if interest by a contribution along these lines. Thank you!
Hello, and thanks for
bitv.I'm wondering whether supporting in place bitwise operations would be a good fit for this library.
To give an example with
and, I'm thinking something like creating a new alterative to add to the currently supported functional operator:and add support for a new function:
Similarly to the existing
bw_and, this inplace operation would only be valid for operands of the same lengths.I would think this pattern would apply to the other bitwise operations in the library (or, xor, not).
Please let me know if interest by a contribution along these lines. Thank you!