public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH v1 0/5] BaseTools: remove or change un-needed variables
@ 2018-04-10 23:17 Jaben Carsey
  2018-04-10 23:17 ` [PATCH v1 1/5] BaseTools: use existing shared variable Jaben Carsey
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Jaben Carsey @ 2018-04-10 23:17 UTC (permalink / raw)
  To: edk2-devel

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



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

end of thread, other threads:[~2018-04-17 12:42 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-10 23:17 [PATCH v1 0/5] BaseTools: remove or change un-needed variables Jaben Carsey
2018-04-10 23:17 ` [PATCH v1 1/5] BaseTools: use existing shared variable Jaben Carsey
2018-04-10 23:17 ` [PATCH v1 2/5] BaseTools: no need to save the data Jaben Carsey
2018-04-10 23:17 ` [PATCH v1 3/5] BaseTools: skip updating temporary variable Jaben Carsey
2018-04-10 23:17 ` [PATCH v1 4/5] BaseTools: use set instead of list for a variable to be used with in Jaben Carsey
2018-04-10 23:17 ` [PATCH v1 5/5] BaseTools: reduce list usage when not needed Jaben Carsey
2018-04-17 12:42 ` [PATCH v1 0/5] BaseTools: remove or change un-needed variables Zhu, Yonghong

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