[edk2] [PATCH v1 0/5] Refactor AutoGen - class ModuleAutoGen

Jaben Carsey posted 5 patches 5 years, 8 months ago
Only 3 patches received!
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
[edk2] [PATCH v1 0/5] Refactor AutoGen - class ModuleAutoGen
Posted by Jaben Carsey 5 years, 8 months ago
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
Re: [edk2] [PATCH v1 0/5] Refactor AutoGen - class ModuleAutoGen
Posted by Carsey, Jaben 5 years, 8 months ago
Please ignore the numbering. My error. There are only 3 parts of this series.

> -----Original Message-----
> From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of
> Jaben Carsey
> Sent: Friday, August 03, 2018 8:11 AM
> To: edk2-devel@lists.01.org
> Subject: [edk2] [PATCH v1 0/5] Refactor AutoGen - class ModuleAutoGen
> 
> 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
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
Re: [edk2] [PATCH v1 0/5] Refactor AutoGen - class ModuleAutoGen
Posted by Zhu, Yonghong 5 years, 8 months ago
Reviewed-by: Yonghong Zhu <yonghong.zhu@intel.com> 

Best Regards,
Zhu Yonghong

-----Original Message-----
From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Carsey, Jaben
Sent: Friday, August 03, 2018 11:46 PM
To: Carsey, Jaben <jaben.carsey@intel.com>; edk2-devel@lists.01.org
Subject: Re: [edk2] [PATCH v1 0/5] Refactor AutoGen - class ModuleAutoGen

Please ignore the numbering. My error. There are only 3 parts of this series.

> -----Original Message-----
> From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of 
> Jaben Carsey
> Sent: Friday, August 03, 2018 8:11 AM
> To: edk2-devel@lists.01.org
> Subject: [edk2] [PATCH v1 0/5] Refactor AutoGen - class ModuleAutoGen
> 
> 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
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel