public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH 0/4] Improve performance of boundary validation in MakeTable()
@ 2019-02-25  6:08 Shenglei Zhang
  2019-02-25  6:08 ` [PATCH 1/4] BaseTools/TianoCompress: Improve performance of boundary validation Shenglei Zhang
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Shenglei Zhang @ 2019-02-25  6:08 UTC (permalink / raw)
  To: edk2-devel; +Cc: Bob Feng, Liming Gao, Yonghong Zhu, Michael D Kinney

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.feng@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Cc: Yonghong Zhu <yonghong.zhu@intel.com>
Cc: Michael D Kinney <michael.d.kinney@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



^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2019-02-25  6:08 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-02-25  6:08 [PATCH 0/4] Improve performance of boundary validation in MakeTable() Shenglei Zhang
2019-02-25  6:08 ` [PATCH 1/4] BaseTools/TianoCompress: Improve performance of boundary validation Shenglei Zhang
2019-02-25  6:08 ` [PATCH 2/4] BaseTools/C/Common: " Shenglei Zhang
2019-02-25  6:08 ` [PATCH 3/4] IntelFrameworkModulePkg: " Shenglei Zhang
2019-02-25  6:08 ` [PATCH 4/4] MdePkg/BaseUefiDecompressLib: " Shenglei Zhang

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox