]> code.ossystems Code Review - openembedded-core.git/commit
sstatesig: Optimise get_taskhash for hashequiv
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 13 May 2020 15:24:50 +0000 (10:24 -0500)
committerAnuj Mittal <anuj.mittal@intel.com>
Tue, 19 May 2020 07:06:08 +0000 (15:06 +0800)
commit4c7e12ee42ff6ab228c2d8aa23a8153ff0debd4b
tree08d716e6fad5482298ef3cdfeee99b4449b42096
parent4620180a073b721dbc91d14ab64285187bec4cb7
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.

(From OE-Core rev: de98cfe3cde4b8d5f4b163b5fba3f129651ef06a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org>
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
meta/lib/oe/sstatesig.py