Skip to content

secp256k1: Store constant on stack instead of heap.#2972

Merged
davecgh merged 1 commit intodecred:masterfrom
davecgh:secp256k1_order_field_val_stack
Jul 27, 2022
Merged

secp256k1: Store constant on stack instead of heap.#2972
davecgh merged 1 commit intodecred:masterfrom
davecgh:secp256k1_order_field_val_stack

Conversation

@davecgh
Copy link
Copy Markdown
Member

@davecgh davecgh commented Jul 24, 2022

This modifies the constant that houses the order as a field val to store it on the stack instead of the heap to save an unnecessary allocation.

@davecgh davecgh added this to the 1.8.0 milestone Jul 24, 2022
This modifies the constant that houses the order as a field val to store
it on the stack instead of the heap to save an unnecessary allocation.
@davecgh davecgh force-pushed the secp256k1_order_field_val_stack branch from 99967fb to 712c80d Compare July 27, 2022 03:01
@davecgh davecgh merged commit 712c80d into decred:master Jul 27, 2022
@davecgh davecgh deleted the secp256k1_order_field_val_stack branch July 27, 2022 03:10
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.

4 participants