-
Notifications
You must be signed in to change notification settings - Fork 241
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 qimalloc as a replacement for wee_alloc #457
Comments
This issue has been automatically marked as stale because it has not had recent activity in the last 2 months. |
@mikedotexe please check whether this is still relevant |
https://crates.io/crates/rlsf is an option to consider. Since WASM code is always single-threaded, concerns about this allocator requiring locks for concurrent use are irrelevant. |
From my dependancy bot alert, it is still relevant to replace wee_alloc
|
Currently we are using wee_alloc for Rust contracts and contracts used in benchmarking. https://github.com/wasmx/qimalloc is used by EWASM and might be potentially faster than the default wee_alloc, since qimalloc optimizes for speed and wee_alloc optimizes for code size. qimalloc however gives only 2-3kb overhead compared to wee_alloc, and in our case using qimalloc might increase the TPS which is more important.
The text was updated successfully, but these errors were encountered: