improve audit_formula_name performance
improve audit_formula_name performance

Closes Homebrew/homebrew#40939.

Signed-off-by: Xu Cheng <9a05244150b861e40c78843b801eed71bca54eac@me.com>

JCount/brew,aw1621107/brew,claui/brew,amar-laksh/brew_sudo,aw1621107/brew,JCount/brew,ilovezfs/brew,toonetown/homebrew,claui/brew,mahori/brew,pseudocody/brew,reitermarkus/brew,Homebrew/brew,mahori/brew,reelsense/brew,EricFromCanada/brew,konqui/brew,palxex/brew,reelsense/brew,reitermarkus/brew,maxim-belkin/brew,maxim-belkin/brew,MikeMcQuaid/brew,Linuxbrew/brew,Homebrew/brew,mgrimes/brew,reelsense/brew,tonyg/homebrew,JCount/brew,AnastasiaSulyagina/brew,palxex/brew,mistydemeo/homebrew,sjackman/homebrew,aw1621107/brew,toonetown/homebrew,staticfloat/brew,bfontaine/brew,jmsundar/brew,gregory-nisbet/brew,DomT4/brew,Linuxbrew/brew,vitorgalvao/brew,zmwangx/brew,muellermartin/dist,zmwangx/brew,mahori/brew,alyssais/brew,mgrimes/brew,nandub/brew,palxex/brew,alyssais/brew,sjackman/homebrew,Linuxbrew/brew,zmwangx/brew,gregory-nisbet/brew,ilovezfs/brew,pseudocody/brew,reitermarkus/brew,mistydemeo/homebrew,EricFromCanada/brew,amar-laksh/brew_sudo,nandub/brew,maxim-belkin/brew,staticfloat/brew,claui/brew,hanxue/linuxbrew,MikeMcQuaid/brew,muellermartin/dist,mahori/brew,muellermartin/dist,rwhogg/brew,AnastasiaSulyagina/brew,claui/brew,rwhogg/brew,DomT4/brew,Linuxbrew/brew,gordonmcshane/homebrew,jmsundar/brew,konqui/brew,bfontaine/brew,DomT4/brew,konqui/brew,EricFromCanada/brew,reitermarkus/brew,EricFromCanada/brew,sjackman/homebrew,MikeMcQuaid/brew,konqui/brew,vitorgalvao/brew,nandub/brew,hanxue/linuxbrew,Homebrew/brew,amar-laksh/brew_sudo,nandub/brew,JCount/brew,staticfloat/brew,hanxue/linuxbrew,mgrimes/brew,tonyg/homebrew,bfontaine/brew,jmsundar/brew,gordonmcshane/homebrew,vitorgalvao/brew,ilovezfs/brew,DomT4/brew,rwhogg/brew,alyssais/brew,gordonmcshane/homebrew,Homebrew/brew,gregory-nisbet/brew,pseudocody/brew,tonyg/homebrew,toonetown/homebrew,MikeMcQuaid/brew,vitorgalvao/brew,sjackman/homebrew,mistydemeo/homebrew,AnastasiaSulyagina/brew