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

Investigate if memory allocation can be optimized #9

Closed
hariso opened this issue Dec 27, 2023 · 1 comment
Closed

Investigate if memory allocation can be optimized #9

hariso opened this issue Dec 27, 2023 · 1 comment

Comments

@hariso
Copy link
Contributor

hariso commented Dec 27, 2023

Feature description

This feature request comes from the following PR comment: #2 (comment).

Summary: When memory in the WASM module is allocated and free, it's always being done with new byte slices. We should investigate if it's possible to do with a single byte slice which will be reused for all the commands and responses, to minimize the number of allocations.

@lovromazgon
Copy link
Member

Done in #7.

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

No branches or pull requests

2 participants