= core: avoid unnecesary allocation when askPatternTimeoutWarning is off