Re:Data-oriented design or why you might shoot yourself in t...
by throwaway894345 on Monday June 28, 2021 @02:07PM
(#27665345)
Devirtualization optimizations can turn semantically "dynamic" dispatches into static dispatches, but sometimes you really just need a dynamic dispatch. Note that a dynamic dispatch doesn't have to be anything more than a branch. Further, sometimes devirtualizing everything leads to enormous binaries and compile times. Runtime performance isn't everything, and it's typically better to opt-into devirtualization rather than to opt-out of it.
[ Parent
| on HN ]
There are no comments on this comment yet.