Tweak build system a bit more
Make character loading less slow

This is not the best solution, but it is obvious, correct, and does
indeed change the complexity from O(n²) to O(n lg n).