From: Jaben Carsey <jaben.carsey@intel.com>
To: edk2-devel@lists.01.org
Subject: [PATCH v1 0/5] Refactor AutoGen - class ModuleAutoGen
Date: Fri, 3 Aug 2018 08:11:05 -0700 [thread overview]
Message-ID: <cover.1533308890.git.jaben.carsey@intel.com> (raw)
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
next reply other threads:[~2018-08-03 15:11 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-03 15:11 Jaben Carsey [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=cover.1533308890.git.jaben.carsey@intel.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox