Chore: Apply memoization to config creation within glob utils (#9944)
Chore: Apply memoization to config creation within glob utils (#9944)

* Chore: Apply memoization to config creation within glob utils

* Code Review updates

* Safer memoization

* Safer memoization

BenoitZugmeyer/eslint,whitneyit/eslint,pvamshi/eslint,DavidAnson/eslint,eslint/eslint,Moeriki/eslint,Aladdin-ADD/eslint,platinumazure/eslint,eslint/eslint,BenoitZugmeyer/eslint,onurtemizkan/eslint,ljharb/eslint,whitneyit/eslint,onurtemizkan/eslint,Aladdin-ADD/eslint,platinumazure/eslint,Trott/eslint,pvamshi/eslint,Moeriki/eslint,DavidAnson/eslint,ljharb/eslint,Trott/eslint