2 ms·
To be clear, the option type in rust does not heap allocate at all; no need for the compiler to optimize things away.
by steveklabnik 7y ago
To be clear, the option type in rust does not heap allocate at all; no need for the compiler to optimize things away.