do_default_detection won't be true, so there is no performance penalty.