3 ms·
If you are using a compiled, systems programming language like Rust, you do care about performance to begin with. Specially in things like parsing or a network
by jfkebwjsbx 7y ago
If you are using a compiled, systems programming language like Rust, you do care about performance to begin with.
Specially in things like parsing or a network protocol!
- cerebellum42 7y agoI think what they're saying is that it literally makes no difference, not negligible difference. At some point you have to do the branching that decides which part of the logic in the state machine runs next. Dynamic dispatch is essentially just a way to do this kind of branching.