diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-07-22 23:28:17 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2015-07-23 08:48:41 +0100 |
commit | 19f290f223376cc9428a1b8fc08476dc76b578ee (patch) | |
tree | a6cbb7d410de9d070202cb56410181435bbcb080 /bitbake/lib/bb/tests/parse.py | |
parent | 9120130eabd86d2d59b40214710a7f50dededc4c (diff) | |
download | poky-19f290f223376cc9428a1b8fc08476dc76b578ee.tar.gz |
bitbake: data_smart: Add CoW approach for overridedata
Using deepcopy() caused a major performance regression. Turns
out we can work with a shallow copy as long as we force the
recreation of any list that we change, effectively a poor mans
CoW. This isn't too invasive and avoids the huge overhead of
deepcopy so this seems like the best way to have performance and
a working data store.
(Bitbake rev: 32dff4749c32f32e947c42c86f8357b8b607354b)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'bitbake/lib/bb/tests/parse.py')
0 files changed, 0 insertions, 0 deletions