Skip to content

Remove excess pointer-wrapped-in-struct #148

@dgryski

Description

@dgryski

We have a number of places where hostcall handles (a uint32) are wrapped in structs, which are then returned as pointers to the SDK, which are then wrapped in structs and returned as poiters to the users of the SDK. This results in potentially more small allocations, when we could probably get away with having value types which can live on the stack or in registers.

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