mirror of
https://github.com/tianocore/edk2
synced 2026-08-27 00:23:19 -04:00
Replace manual loop-based tuple construction with the built-in tuple() function when converting PcdDbBuffer to a tuple. This change significantly improves performance—approximately three times faster—resulting in substantial build time savings in large environments. Previously, the code iterated over each byte in PcdDbBuffer, unpacking and appending it to a tuple. The new approach leverages tuple(PcdDbBuffer) to achieve the same result more efficiently. The generated tuple remains identical to the original implementation. TEST=The generated tuple is the same than with to original code Signed-off-by: Jeremy Compostella <jeremy.compostella@intel.com> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| AutoGen.py | ||
| AutoGenWorker.py | ||
| BuildEngine.py | ||
| DataPipe.py | ||
| GenC.py | ||
| GenDepex.py | ||
| GenMake.py | ||
| GenPcdDb.py | ||
| GenVar.py | ||
| IdfClassObject.py | ||
| IncludesAutoGen.py | ||
| InfSectionParser.py | ||
| ModuleAutoGen.py | ||
| ModuleAutoGenHelper.py | ||
| PlatformAutoGen.py | ||
| StrGather.py | ||
| UniClassObject.py | ||
| ValidCheckingInfoObject.py | ||
| WorkspaceAutoGen.py | ||