Skip to content

Logging requires heap allocations #298

@rustaceanrob

Description

@rustaceanrob

Reading the discussion on LDK node, the format! macro allocates on the heap to create the strings. The Log::Dialog message is mostly useful for developers, but could be optimized away for a production application. This could either go behind a feature or a configuration that can be optimized way by the compiler.

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