The boundary validation checking in MakeTable() performs on every loop iteration. This could be improved by checking just once before the loop. https://bugzilla.tianocore.org/show_bug.cgi?id=1329
Cc: Bob Feng <bob.c.f...@intel.com> Cc: Liming Gao <liming....@intel.com> Cc: Yonghong Zhu <yonghong....@intel.com> Cc: Michael D Kinney <michael.d.kin...@intel.com> Shenglei Zhang (4): BaseTools/TianoCompress: Improve performance of boundary validation BaseTools/C/Common: Improve performance of boundary validation IntelFrameworkModulePkg: Improve performance of boundary validation MdePkg/BaseUefiDecompressLib: Improve performance of boundary validation BaseTools/Source/C/Common/Decompress.c | 13 +++++++------ BaseTools/Source/C/TianoCompress/TianoCompress.c | 9 +++++---- .../BaseUefiTianoCustomDecompressLib.c | 12 ++++++------ .../BaseUefiDecompressLib/BaseUefiDecompressLib.c | 8 ++++---- 4 files changed, 22 insertions(+), 20 deletions(-) -- 2.18.0.windows.1 _______________________________________________ edk2-devel mailing list edk2-devel@lists.01.org https://lists.01.org/mailman/listinfo/edk2-devel