mirror_edk2/BaseTools/Source/Python/Workspace
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
..
__init__.py Sync EDKII BaseTools to BaseTools project r1971 2010-05-18 05:04:32 +00:00
BuildClassObject.py BaseTools: Customize deepcopy function. 2018-12-07 10:31:04 +08:00
DecBuildData.py BaseTools: Enable Pcd Array support. 2018-12-07 09:59:36 +08:00
DscBuildData.py BaseTools: Customize deepcopy function. 2018-12-07 10:31:04 +08:00
InfBuildData.py BaseTools: Optimize string concatenation 2018-12-07 10:30:21 +08:00
MetaDataTable.py BaseTools: Replace the sqlite database with list 2018-12-07 10:23:07 +08:00
MetaFileCommentParser.py License header updated to match correct format. 2014-08-28 13:53:34 +00:00
MetaFileParser.py BaseTools: Replace the sqlite database with list 2018-12-07 10:23:07 +08:00
MetaFileTable.py BaseTools: Replace the sqlite database with list 2018-12-07 10:23:07 +08:00
WorkspaceCommon.py BaseTools: Optimize string concatenation 2018-12-07 10:30:21 +08:00
WorkspaceDatabase.py BaseTools: Replace the sqlite database with list 2018-12-07 10:23:07 +08:00