Optimize continuous runs of +, -, > and <.
Recognize some loop idioms.