2 ms·
Doing stack allocations in rust is actually really easy. Stack allocations in case your not aware are incredibly fast compared to anything else. The only thing
by stcredzero 12y ago
Doing stack allocations in rust is actually really easy. Stack allocations in case your not aware are incredibly fast compared to anything else. The only thing faster is static allocations.
This is also the key to programming performant Go. However, you can't really entirely avoid heap allocations, just minimize them.