diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-11-22 09:54:11 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2022-11-23 18:27:07 +0000 |
commit | 61fac62194b3c7e1c31a9119390f4f960077dea4 (patch) | |
tree | 8df9d6b92f187b61894972dbb1851ea4c50d3dea /meta/recipes-extended | |
parent | f68a10b5cf7e0ffc558b01d56bd7801a0696cf29 (diff) | |
download | poky-61fac62194b3c7e1c31a9119390f4f960077dea4.tar.gz |
bitbake: data/siggen: Switch to use frozensets and optimize
Python handles frozensets a little more optimally than normal sets. Once we
finish parsing, we don't edit this data so we can convert to them.
To do that, we need to stop changing them so process ignore_deps earlier
then we can freeze the data and keep it frozen.
This has the side effect that we need to be careful to sort the data
in some of the variables when calculating the hashes.
Overall this does seem to show a decent parsing time speed improvement
of 20-25% in a local test but this would be highly setup dependent.
Also ensure the sigdata can handle exported frozenset and make it import
back to them instead of sets.
(Bitbake rev: 19475627c363a52da49ec144422c87448ff2a6c5)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended')
0 files changed, 0 insertions, 0 deletions