diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-04-08 16:16:53 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2020-04-24 14:31:42 +0100 |
commit | 8b1636763d6df9d68a50ed017ff0ed5f358b7321 (patch) | |
tree | 2956f155f84165d73fe74bf760509aab48fc40ff /bitbake/lib/bb/data_smart.py | |
parent | ab26fdae9e5ae56bb84196698d3fa4fd568fe903 (diff) | |
download | poky-8b1636763d6df9d68a50ed017ff0ed5f358b7321.tar.gz |
bitbake: cache: Fix performance problem with large numbers of source files
Some companies are using large numbers of patch files in SRC_URI.
Rightly or wrongly that exposes a performance problem where the code
does not handle the large string manipulations in a way which works
efficienty in python.
This is a modified version of a patch from z00539568
<zhangyifan46@huawei.com153340508@qq.com which addresses the performance
problem. I modified it to use a more advanced regex, retain the "*" check
and cache the regex.
[YOCTO #13824]
(Bitbake rev: c07f374998903359ed55f263c86466d05aa39b68)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/data_smart.py')
0 files changed, 0 insertions, 0 deletions