]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core.git/commit
sstatesig: Optimise get_taskhash for hashequiv
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 14 Dec 2019 12:51:24 +0000 (12:51 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sun, 15 Dec 2019 09:04:38 +0000 (09:04 +0000)
commitde98cfe3cde4b8d5f4b163b5fba3f129651ef06a
tree9fef3674d4e59a0a381098deeeaec2753ce1eb8d
parent04e4e93efa4d8e2bdde950fe95c2fd95f89c13e7
sstatesig: Optimise get_taskhash for hashequiv

With hashequiv the get_taskhash function is called much more regularly
and contains expensive operations. This these don't change based upon
hash in a given build, improve the caching within the function to
reduce overhead.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/lib/oe/sstatesig.py