diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2022-06-17 12:13:34 +0200 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2022-06-20 17:40:44 +0200 |
commit | d9c3bee2250c2f22dbabb765bd006e9a7c224627 (patch) | |
tree | 8d76c767eca038c2f91c754bd8c6f2f10942304b /doc/concepts/cache-pragma.org | |
parent | 9d5047bb2b6d1756385fc4fabf2a3d54d9e9ac93 (diff) | |
download | justbuild-d9c3bee2250c2f22dbabb765bd006e9a7c224627.tar.gz |
Correctly serialize and deserialize results and nodes
So far, our serialisation and deserialisation assumed that no
node or result values are included contained in the given value.
However, for nodes (and hence ressults, given our implementation of
value nodes) there is a legitimate use case. An abstract interface
specification, given by provided nodes, can well be a meaningful
target to be exported. Implement serialisation for those values.
Also, avoid tree-unfolding the value when deserialising the value
by appropriately caching the corresponding expression pointers.
Moreover, avoid the quadratic overhead through linearly searching
through the list of artifacts.
Diffstat (limited to 'doc/concepts/cache-pragma.org')
0 files changed, 0 insertions, 0 deletions