Minor Performance tweaks

Changes

* length_score - we can just pass the length of the string
* title_score - number of comparisons reduced