3 ms·
I think this would depend on the application. Its possibly a problem in a parser of large data, but in a network protocol or business rule its not going make an
by papaf 7y ago
I think this would depend on the application. Its possibly a problem in a parser of large data, but in a network protocol or business rule its not going make any difference at all.
- jfkebwjsbx 7y agoIf 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.