2 ms·
I think he meant 1 byte on the heap for the shared state, on the stack it's larger. Which is fine since in Rust we almost always have the mutex in function sco
by torginus 11mo ago
I think he meant 1 byte on the heap for the shared state, on the stack it's larger.
Which is fine since in Rust we almost always have the mutex in function scope as long as we're using it.