Skip to content

libffi reusable call plans #64562

Description

@Renegade334

libffi 3.7 introduces reusable call plans, which allows for the per-call setup overhead to be precomputed from an initialised cif and re-used for subsequent calls.

libffi/libffi@3cc6beb

All of our wrapped functions have fixed call signatures, so this seems like something we could leverage.

@nodejs/ffi

Metadata

Metadata

Assignees

No one assigned

    Labels

    ffiIssues and PRs related to experimental Foreign Function Interface support.

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions