Skip to content

inline smaller functions to avoid calling overhead #8

Description

@rilysh

Hello,

I noticed some functions in this SHA256 implementation aren't inlined (where they possibly can be inlined). These are rotr(), choose(), majority(), sig0(), and sig1(). Compiler by itself will not perform these smaller inlines (without specifying special parameters). This will remove the possible overhead of calling those functions and thus can improve performance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions