|
|
|
|
|
by sjustinas
2378 days ago
|
|
The indexing operator [] does bound checks, the method `get_unchecked()` does not. If you need the extra speed at the expense of safety, you can do it, but you have to consciously choose this trade-off. Unlike in C, in Rust safety is opt-out. |
|
I don't know how all of this can be coupled with the embedded ecosystem we are used to work with.