Is it better to use Global or System in a local memory allocator?
โ Rust ๐ 2026-04-08 ๐ค surdeus ๐๏ธ 4I was just wondering which is more suitable to use for allocating large(-ish) blocks.
Typically two 1MB blocks will be allocated when a thread starts and be freed when it terminates. ( Code here )
It allocates more as necessary ( but all are returned on thread termination ).
Maybe it doesnโt matter or make any difference?
1 post - 1 participant
๐ท๏ธ Rust_feed