diff options
| author | David Kalnischkies <david@kalnischkies.de> | 2021-08-28 13:24:06 +0200 |
|---|---|---|
| committer | David Kalnischkies <david@kalnischkies.de> | 2021-08-28 22:21:35 +0200 |
| commit | b104891d015d0b8e152d8ac723027f824077948a (patch) | |
| tree | 1718cad8c424f7e5058dbc2b05500f5e2a0ea8d1 /doc/apt-transport-https.1.xml | |
| parent | e267d1ee54e3e2a9478201192293f3f8c72e118c (diff) | |
Simplify selection of highest source version providers
The old code is a bit longer and does a sort (N*log(N)) + find (at most N)
It is replaced by max_element (N) + remove_if (N). The practical
difference is minimal as the N we operate on is rather small, but the
replacement is hopefully easier to understand at a glance as well.
Gbp-Dch: Ignore
Diffstat (limited to 'doc/apt-transport-https.1.xml')
0 files changed, 0 insertions, 0 deletions
