summaryrefslogtreecommitdiffstats
path: root/bitbake/lib/bb/data_smart.py
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2013-09-16 07:33:48 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-09-17 14:11:04 +0100
commit36b4fcde7a24ccefe0dabcbe5e8e6712187ff679 (patch)
treeedfb0c8557fea78e4371ae6960997e30b0671fbc /bitbake/lib/bb/data_smart.py
parentf78db82e1aed5d8eefe03c57eb96fd14b44f52b7 (diff)
downloadpoky-36b4fcde7a24ccefe0dabcbe5e8e6712187ff679.tar.gz
bitbake: data: Use direct iteration, not keys()
Profiling shows the creation of keys() has overhead and we're better using an iterator rather than the memory associated with the huge list of keys when iterating the whoe datastore. We minimise the number of times we do this to twice only per recipe. (Bitbake rev: e63448d9ee331b0f45fb9a0197d0dbee49eb2fa0) 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