Compile-time tuning