Skip to content

Conversation

@tarcieri
Copy link
Member

No description provided.

@tarcieri tarcieri merged commit 7b437b9 into master Nov 26, 2023
@tarcieri tarcieri deleted the boxed-uint/avoid-allocations-in-add-sub-mod branch November 26, 2023 21:03
tarcieri added a commit that referenced this pull request Nov 26, 2023
Similar to #321, this adds a function which applies a bitwise AND of the
given limb to every limb in a `Uint`.

This can be used to replace intermediate array allocations and reduce
stack size inside of `Uint::{add_mod, sub_mod}`.
@tarcieri tarcieri mentioned this pull request Nov 26, 2023
tarcieri added a commit that referenced this pull request Nov 26, 2023
Similar to #321, this adds a function which applies a bitwise AND of the
given limb to every limb in a `Uint`.

This can be used to replace intermediate array allocations and reduce
stack size inside of `Uint::{add_mod, sub_mod}`.
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