mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-12-06 12:43:35 +01:00
`RCConstraints::IsAnyConstraintActive()` was extremely inefficient. It could be argued that, since it's only used in ASSERTs, they could have been changed to DEBUG_ASSERTs. But with this, we can have them in release builds with little performance impact. Also, the implementations of `RCConstraints` are moved to the header files, since they tend to be short and thus inline well. All the low-hanging performance improvements for the register cache are now fixed, with profiling percentages being at expected values. (Though more micro-optimizations are possible.)