]> ruin.nu Git - germs.git/commitdiff
Small optimization in sort()
authorMichael Andreen <harv@ruin.nu>
Mon, 29 Oct 2007 13:20:47 +0000 (13:20 +0000)
committerMichael Andreen <harv@ruin.nu>
Mon, 29 Oct 2007 13:20:47 +0000 (13:20 +0000)
safeActions() is guaranteed to only return actions that reduces the inversion
distance by one, so we don't have to compute the inversion distance at
each step.


No differences found