Avoid n² complexity. This showed up in a profile for match-stress-enum that has 8192 variants
tracing