diff options
author | Adin Scannell <ascannell@google.com> | 2021-04-23 17:31:18 -0700 |
---|---|---|
committer | gVisor bot <gvisor-bot@google.com> | 2021-04-23 17:33:32 -0700 |
commit | f373f67048e2566af7fb5eaa68c3bec11607010a (patch) | |
tree | 6b921fac7f838b8e5c9be9f4a84a5709cdc5f8db /pkg/state/encode_unsafe.go | |
parent | 80cd26c2f43e78d43e2ff769cf0449e67254e673 (diff) |
Improve nogo action cache-ability.
Presently, the standard library facts are not serialized in a deterministic
order. This means that they have the possibility to change on each iteration,
requiring a large scale re-analysis of all downstream actions, which includes
all packages.
Improve cache-ability of nogo actions by improving the determinism of the both
facts and findings. Internally, default facts should be serialized as a sorted
list for this reason already.
PiperOrigin-RevId: 370188259
Diffstat (limited to 'pkg/state/encode_unsafe.go')
0 files changed, 0 insertions, 0 deletions