tildeio/route-recognizer — pull request #22 by jamesarosen (2014-01-20 20:38:19+00:00)
Title: sortSolutions: prefer more dynamics if any stars

When sorting States

1. prefer fewer stars to more stars
1. if any stars, prefer more dynamics and statics to fewer (since those both eat away at the amount that the stars must take up)
1. if no stars, prefer fewer dynamics and more statics

This changes the rule slightly to: "prefer fewer dynamic segments and prefer using them for less of the match".

Fixes #21