use sets instead of lists when doing only "in" testing later
use counts instead of lists when they just get counted after

Jaben Carsey (5):
  BaseTools: use existing shared variable
  BaseTools: no need to save the data
  BaseTools: skip updating temporary variable.
  BaseTools: use set instead of list for a variable to be used with in
  BaseTools: reduce list usage when not needed

 BaseTools/Source/Python/AutoGen/AutoGen.py        | 26 ++++-------
 BaseTools/Source/Python/AutoGen/GenC.py           | 48 +++++++++++---------
 BaseTools/Source/Python/AutoGen/GenVar.py         | 15 +++---
 BaseTools/Source/Python/Common/Misc.py            |  2 +-
 BaseTools/Source/Python/Workspace/DscBuildData.py | 38 ++++++++--------
 5 files changed, 63 insertions(+), 66 deletions(-)

-- 
2.16.2.windows.1

_______________________________________________
edk2-devel mailing list
[email protected]
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to