Skip to content

Use Once from std when available #352

@Kixunil

Description

@Kixunil

The current code in secp256k1_context_preallocated_create uses hand-rolled busy loop even when Once is available potentially wasting CPU. Abstracting them away and conditionally using Once from std would avoid the waste.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions