bitbake: data: fix performance regression
authorPaul Eggleton <paul.eggleton@linux.intel.com>
Mon, 15 Apr 2013 14:27:34 +0000 (15:27 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 15 Apr 2013 14:57:31 +0000 (15:57 +0100)
commita71e3b71f6924fd75b84f08c5a9c0f18e05c2cb0
tree5721bf71d07ef67a317b2857247a7fe4f964c433
parent192f033f08bd28a739027e3e430f04b85a930459
bitbake: data: fix performance regression

BitBake commit 7c568132c54a21161de28907159f902462f1e2bb resulted in a
fairly serious performance regression during parsing, almost doubling
the time taken to do a full parse and almost certainly impacting
performance during building. The expandKeys function is called
frequently, and if we avoid using keys() and instead just use the normal
variable lookup mechanism, performance is restored.

(Bitbake rev: 034b392e9877309f15940b258fc2c16f16fb40b5)

Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
bitbake/lib/bb/data.py