Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Logging requires heap allocations #298

Open
rustaceanrob opened this issue Feb 14, 2025 · 0 comments · May be fixed by #300
Open

Logging requires heap allocations #298

rustaceanrob opened this issue Feb 14, 2025 · 0 comments · May be fixed by #300

Comments

@rustaceanrob
Copy link
Owner

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant