move RegEx compile out of functions/loops share RegEx when have identical data
Jaben Carsey (5): BaseTools: Autogen - move RegEx compile BaseTools: GenFds - move RegEx compile BaseTools: Add new RegEx pattern to GlobalData BaseTools: AutoGen - use the new shared RegEx BaseTools: remove redundant check BaseTools/Source/Python/AutoGen/AutoGen.py | 22 +++++++++++++------- BaseTools/Source/Python/AutoGen/IdfClassObject.py | 5 +++-- BaseTools/Source/Python/AutoGen/UniClassObject.py | 8 +++---- BaseTools/Source/Python/Common/GlobalData.py | 3 +++ BaseTools/Source/Python/GenFds/FdfParser.py | 5 ++--- 5 files changed, 27 insertions(+), 16 deletions(-) -- 2.16.2.windows.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel