The four architecture-specific threshold functions are structurally identical and each has CCN 35. Parameterise them over architecture-specific threshold data using constexpr tables and if constexpr dispatch, producing one shared implementation that varies the data rather than the control structure.
The four architecture-specific threshold functions are structurally identical and each has CCN 35. Parameterise them over architecture-specific threshold data using constexpr tables and if constexpr dispatch, producing one shared implementation that varies the data rather than the control structure.