Re:From Zero to Main(): Bare Metal Rust
by paavohtl on Wednesday December 18, 2019 @05:23AM
(#21823541)
get_unchecked() is marked as an #[inline] function (like most other low level primitives), and through the magic of compiler optimization it should have exactly 0 overhead. The function should most likely compile down to a single CPU instruction.
[ Parent
| on HN ]
There are no comments on this comment yet.