summaryrefslogtreecommitdiff
path: root/ShellPkg/Library/UefiShellLevel2CommandsLib
diff options
context:
space:
mode:
authorJeremy Compostella <jeremy.compostella@intel.com>2025-11-26 21:35:13 +0300
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2025-12-02 05:21:22 +0300
commit3af7eccf472d2308201fccc805db7e06acabd47c (patch)
treef0a44eafa4e8bb073233caa3f6b12d1a6ab44b2e /ShellPkg/Library/UefiShellLevel2CommandsLib
parent43e86ce5d5fcca1c4b6b45067ccd8a6cfab0e2b5 (diff)
downloadedk2-3af7eccf472d2308201fccc805db7e06acabd47c.tar.xz
BaseTools: AutoGen: Optimize tuple creation using tuple() for PcdDbBuffer
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>
Diffstat (limited to 'ShellPkg/Library/UefiShellLevel2CommandsLib')
0 files changed, 0 insertions, 0 deletions