Branch: refs/heads/master
  Home:   https://github.com/tianocore/edk2
  Commit: 4d55998e8b0a251b5124bdf240ddaad9921e6257
      
https://github.com/tianocore/edk2/commit/4d55998e8b0a251b5124bdf240ddaad9921e6257
  Author: kuqin12 <[email protected]>
  Date:   2026-09-06 (Sun, 06 Sep 2026)

  Changed paths:
    M BaseTools/Source/Python/Common/Expression.py
    M BaseTools/Tests/TestRegularExpression.py

  Log Message:
  -----------
  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 <[email protected]>



To unsubscribe from these emails, change your notification settings at 
https://github.com/tianocore/edk2/settings/notifications


_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to