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

_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel

Reply via email to