On 08/04/2016 06:55 PM, Stefan Beller wrote:
> I have just reread the scoring function and I think you could pull out the
> `score=indent` assignment (it is always assigned except for indent <0)
> if (indent == -1)
> score = 0;
> score = indent;
> ... lots of bonus computation below, which in its current
> have lots of "score = indent;" lines as well.
Yes. An earlier version of the heuristic used different indent values in
different situations, but that's gone away so the code can be made
simpler now. I'll make the change.
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majord...@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html