]> git.pond.sub.org Git - empserver/commit
Optimize dodistribute() for sectors with no distribution center
authorMarkus Armbruster <armbru@pond.sub.org>
Fri, 25 Feb 2011 07:08:05 +0000 (08:08 +0100)
committerMarkus Armbruster <armbru@pond.sub.org>
Mon, 11 Apr 2011 20:29:13 +0000 (22:29 +0200)
commitb8002d560345127ea4f3a1ba06fe7a7ff8bbb7d6
tree25df74abd3f18ade2a923bfae14edb5d2b52e405
parentf4db4e37b19f99f5cba3db2538569128a8535ddf
Optimize dodistribute() for sectors with no distribution center

import_cost is now -1 in that case, so checking that suffices.
src/lib/update/distribute.c