]> git.pond.sub.org Git - empserver/commit
Optimize assemble_dist_paths() for foreign distribution center
authorMarkus Armbruster <armbru@pond.sub.org>
Fri, 25 Feb 2011 18:40:08 +0000 (19:40 +0100)
committerMarkus Armbruster <armbru@pond.sub.org>
Mon, 11 Apr 2011 20:29:13 +0000 (22:29 +0200)
commit6eecd9cdc86d4b019fcc055293664b69c4740b04
treeb84d4a0bbee67472d7d5394f0351252752b91aed
parentb8002d560345127ea4f3a1ba06fe7a7ff8bbb7d6
Optimize assemble_dist_paths() for foreign distribution center

You can't distribute to a foreign sector.  This case is relatively
rare.  However, unsuccessful path search is relatively expensive, and
the extra check doesn't really slow down the common case.
src/lib/update/finish.c