summaryrefslogtreecommitdiff
path: root/doc/apt-verbatim.ent
diff options
context:
space:
mode:
authorJulian Andres Klode <julian.klode@canonical.com>2020-01-17 17:19:56 +0100
committerJulian Andres Klode <julian.klode@canonical.com>2020-01-17 17:19:56 +0100
commit8dc1d3c4662e9009ed56483fd4254ee1154b6e23 (patch)
tree69d06108ae16899e7a655f1149fe757fc138dd18 /doc/apt-verbatim.ent
parent25353dc6646e5b9fff55059a5c85183589cf472d (diff)
mmap: Do not look for empty pool unless we need to
Given that we have a maximum of 12 pools, and much more items to insert, it does not make sense to have two branches in the hot path. Move the search for an empty pool into the unlikely case that no matching pool has been created yet - a condition that is guaranteed to only happens up to 12 times.
Diffstat (limited to 'doc/apt-verbatim.ent')
0 files changed, 0 insertions, 0 deletions