-
Committer:
John Arbash Meinel
-
Date:
2009-06-12 04:44:24 UTC
-
mto:
(4371.4.5 vila-better-heads)
-
mto:
This revision was merged to the branch mainline in
revision
4449.
-
Revision ID:
john@arbash-meinel.com-20090612044424-3kv1qr5wkns35c22
cleanup passes.
Write some helper functions that avoid having to retype the ugly
inline code everywhere.
Get rid of the special-case exit when popping candidate nodes.
At best it just avoids adding a couple parents to the heap before
we hit the while loop and notice we are done anyway. And it allows
us to remove some extraneous if/break blocks and clean up the code
a bit.