diff options
author | James Ennis <james.ennis@codethink.co.uk> | 2019-03-06 17:09:26 +0000 |
---|---|---|
committer | James Ennis <james.ennis@codethink.co.uk> | 2019-03-07 12:52:04 +0000 |
commit | 9e6abded683baa77051186ede4189d225b16febf (patch) | |
tree | d228726387790231038490d299a9c73dee38959c /buildstream/_gitsourcebase.py | |
parent | 5370740fc1eef6daf144831b148f13f883ebcd42 (diff) | |
download | buildstream-9e6abded683baa77051186ede4189d225b16febf.tar.gz |
_yaml.py: Rip out ChainMap(), node_chain_copy(), node_list_copy()
This class and these two functions exist as they were intended to
bring efficiency. Benchmarking this patch against the debian-stack.bst
element in the debian-like project [0] showed that although this
took 15M more RAM (peak usage), there was a ~20s gain in the time taken
to 'show' the stack. Thus the class and functions have been removed.
This also has the advantage of removing a lot of duplicate and unnecessary
code.
[0] https://gitlab.com/jennis/debian-stretch-bst
Diffstat (limited to 'buildstream/_gitsourcebase.py')
0 files changed, 0 insertions, 0 deletions