mirror_edk2/BaseTools/Source/Python/Common
BobCF 4e37570739 BaseTools: Optimize string concatenation
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 use join function instead of
string += string2 statement.

Current code use string += string2 in a loop to combine
a string. while creating a string list in a loop and using
"".join(stringlist) after the loop will be much faster.

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: Liming Gao <liming.gao@intel.com>
Reviewed-by: Jaben Carsey <jaben.carsey@intel.com>
2018-12-07 10:30:21 +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
__init__.py Sync EDKII BaseTools to BaseTools project r1971 2010-05-18 05:04:32 +00: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
caching.py BaseTools: AutoGen refactor ModuleAutoGen caching 2018-08-20 10:53:05 +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: Enable Pcd Array support. 2018-12-07 09:59:36 +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: Optimize string concatenation 2018-12-07 10:30:21 +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