You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After use-ink/ink#831 is merged there will be two choices for dynamic memory allocators in ink!. The default is the new bump allocator while the other choice is wee_alloc (which used to be the old default).
The fundamental tradeoff here is .wasm size vs. efficient use of memory.
For someone concerned with running smart contracts on a parachain, size would be the most important consideration. However, if someone is running a standalone chain then memory efficiency might be more important.
The guide should explain:
The role of a dynamic memory allocator
The different allocators available
The trade-offs between the allocators
How to switch between allocators
The text was updated successfully, but these errors were encountered:
After use-ink/ink#831 is merged there will be two choices for dynamic memory allocators in ink!. The default is the new
bump
allocator while the other choice iswee_alloc
(which used to be the old default).The fundamental tradeoff here is
.wasm
size vs. efficient use of memory.For someone concerned with running smart contracts on a parachain, size would be the most important consideration. However, if someone is running a standalone chain then memory efficiency might be more important.
The guide should explain:
The text was updated successfully, but these errors were encountered: