diff options
author | Klaus Aehlig <klaus.aehlig@huawei.com> | 2025-01-24 14:29:44 +0100 |
---|---|---|
committer | Klaus Aehlig <klaus.aehlig@huawei.com> | 2025-01-24 17:17:00 +0100 |
commit | 8e0c914a68f2d113fbfcfb730b94fe6cdb5e0e0c (patch) | |
tree | 5406fee53e3b9634bc1dad21844af7f33a1f5a9b /etc | |
parent | 95b78e899b1f2c8de39426697f8b9fa0c221d5e9 (diff) | |
download | justbuild-8e0c914a68f2d113fbfcfb730b94fe6cdb5e0e0c.tar.gz |
Add native comparison of configured targets
... and use it when normalizing the origins of actions. For this
task, any well-defined linear order is sufficient. Using a native
comparision (rather than comparing the canonical serialisation)
significantly speeds up that normalisation process, as the assumption
that it would be rare that an action has more than one origin turned
out to be false. In fact, we have seeen cases where this sorting
used to take several seconds before this change, so that this change
reduced analysis time by more than a factor of 5.
Diffstat (limited to 'etc')
0 files changed, 0 insertions, 0 deletions