public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH v1 0/5] Refactor AutoGen - class ModuleAutoGen
@ 2018-08-03 15:11 Jaben Carsey
  2018-08-03 15:11 ` [PATCH v1 1/5] BaseTools: AutoGen refactor ModuleAutoGen caching Jaben Carsey
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Jaben Carsey @ 2018-08-03 15:11 UTC (permalink / raw)
  To: edk2-devel

This adds a decorator based caching mechanism for general use.
This then changes ModuleAutoGen to use the mechanism via 
decorators for some functions and properties.  This allows for reduction
in object size for objects as the functions are replaced by smaller
data blobs.
Also some small cleanups.

Jaben Carsey (5):
  BaseTools: AutoGen refactor ModuleAutoGen caching
  BaseTools: AutoGen - tag a function as cachable
  BaseTools: AutoGen refactor to iterate less

 BaseTools/Source/Python/AutoGen/AutoGen.py     | 1852 +++++++++-----------
 BaseTools/Source/Python/AutoGen/BuildEngine.py |   36 +-
 BaseTools/Source/Python/AutoGen/GenC.py        |    2 +-
 BaseTools/Source/Python/AutoGen/GenMake.py     |   12 +-
 BaseTools/Source/Python/Common/caching.py      |   47 +
 5 files changed, 888 insertions(+), 1061 deletions(-)
 create mode 100644 BaseTools/Source/Python/Common/caching.py

-- 
2.16.2.windows.1



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

end of thread, other threads:[~2018-08-13  1:21 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-03 15:11 [PATCH v1 0/5] Refactor AutoGen - class ModuleAutoGen Jaben Carsey
2018-08-03 15:11 ` [PATCH v1 1/5] BaseTools: AutoGen refactor ModuleAutoGen caching Jaben Carsey
2018-08-03 15:11 ` [PATCH v1 2/5] BaseTools: AutoGen - tag a function as cachable Jaben Carsey
2018-08-03 15:11 ` [PATCH v1 3/5] BaseTools: AutoGen refactor to iterate less Jaben Carsey
2018-08-03 15:46 ` [PATCH v1 0/5] Refactor AutoGen - class ModuleAutoGen Carsey, Jaben
2018-08-13  1:21   ` Zhu, Yonghong

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