summaryrefslogtreecommitdiff
path: root/BaseTools/Source/Python/Workspace/MetaFileParser.py
diff options
context:
space:
mode:
authorkuqin12 <42554914+kuqin12@users.noreply.github.com>2026-08-22 01:12:39 +0300
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2026-09-07 02:50:31 +0300
commit4d55998e8b0a251b5124bdf240ddaad9921e6257 (patch)
treee1cf9fbef71af7f2863b6b358477d1db55df4897 /BaseTools/Source/Python/Workspace/MetaFileParser.py
parent263242774a10ce0db7162663eb801aa5a0b3cc7d (diff)
downloadedk2-4d55998e8b0a251b5124bdf240ddaad9921e6257.tar.xz
BaseTools: Optimize parsing of byte-array PCD values
This change adds a fast path for simple VOID* hexadecimal byte arrays, avoiding the generic expression tokenizer's repeated processing of large PCD values. Regression tests for both paths. It does not change the existing parser for structured and symbolic expressions. This reduces parsing time for a 28 KiB generated PCD from roughly 2 seconds to 50 milliseconds. Signed-off-by: Kun Qin <kun.qin@microsoft.com>
Diffstat (limited to 'BaseTools/Source/Python/Workspace/MetaFileParser.py')
0 files changed, 0 insertions, 0 deletions