]> git.pond.sub.org Git - empserver/commit
Speed up export cost calculation in assemble_dist_paths()
authorMarkus Armbruster <armbru@pond.sub.org>
Sat, 19 Feb 2011 07:21:33 +0000 (08:21 +0100)
committerMarkus Armbruster <armbru@pond.sub.org>
Mon, 11 Apr 2011 20:29:13 +0000 (22:29 +0200)
commit08cb463878c2a9b186ec0ecf588a608253df049d
tree244fa96e345d3f234af65e00b300f71b88b15482
parent0095b0c979e8012018691062fee5db198dd76db2
Speed up export cost calculation in assemble_dist_paths()

Import and export paths enter the same sectors, except for the last
one.  Compute export cost from import cost instead of reverting the
import path.  Do it in dodistribute(), so that we need to store only
import costs.
src/lib/update/distribute.c
src/lib/update/finish.c