audk/BaseTools/Source/Python/Common
BobCF bf9e636605 BaseTools: Customize deepcopy function.
https://bugzilla.tianocore.org/show_bug.cgi?id=1288

This patch is one of build tool performance improvement
series patches.

This patch is going to customize the deepcopy function for
SkuClass, PcdClassObject and python dictionary.

python deepcopy copy everything of a object, but for our current
usage we just need to copy the data we care about recursively.

By implementing __deepcopy__ for SkuClass, PcdClassObject, we can customize
deepcopy function for them.

Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: BobCF <bob.c.feng@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Cc: Jaben Carsey <jaben.carsey@intel.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
2018-12-07 10:31:04 +08:00
..
Edk2 BaseTools/Capsule: Add Capsule Generation Tools 2018-08-02 14:35:20 -07:00
Uefi BaseTools/Capsule: Fix CertType GUID byte order 2018-08-02 14:35:24 -07:00
BuildToolError.py BaseTools: introduce !error statement 2018-06-22 13:38:40 +08:00
BuildVersion.py BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00
DataType.py BaseTools: create and use a standard shared variable for '*' 2018-12-06 17:11:24 +08:00
EdkLogger.py Revert BaseTools: PYTHON3 migration 2018-10-15 08:29:14 +08:00
Expression.py BaseTools: Customize deepcopy function. 2018-12-07 10:31:04 +08:00
GlobalData.py BaseTools: Check GUID C structure format 2018-09-14 13:41:07 +08:00
LongFilePathOs.py Revert BaseTools: PYTHON3 migration 2018-10-15 08:29:14 +08:00
LongFilePathOsPath.py BaseTools: Update Build tool to support multiple workspaces 2015-10-08 09:27:14 +00:00
LongFilePathSupport.py Revert BaseTools: PYTHON3 migration 2018-10-15 08:29:14 +08:00
Misc.py BaseTools: Customize deepcopy function. 2018-12-07 10:31:04 +08:00
MultipleWorkspace.py BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00
Parsing.py Revert BaseTools: PYTHON3 migration 2018-10-15 08:29:14 +08:00
RangeExpression.py Revert BaseTools: PYTHON3 migration 2018-10-15 08:29:14 +08:00
StringUtils.py Revert BaseTools: PYTHON3 migration 2018-10-15 08:29:14 +08:00
TargetTxtClassObject.py Revert BaseTools: PYTHON3 migration 2018-10-15 08:29:14 +08:00
ToolDefClassObject.py BaseTools: create and use a standard shared variable for '*' 2018-12-06 17:11:24 +08:00
VariableAttributes.py BaseTools: Clean up source files 2018-07-09 10:25:47 +08:00
VpdInfoFile.py BaseTools: create and use a standard shared variable for '*' 2018-12-06 17:11:24 +08:00
__init__.py Sync EDKII BaseTools to BaseTools project r1971 2010-05-18 05:04:32 +00:00
caching.py BaseTools: AutoGen refactor ModuleAutoGen caching 2018-08-20 10:53:05 +08:00