Henri Verbeet wrote:
I suspect having branches at all inside the loop hurts, but just see what you can come up with.
I don't think that branching inside the loop is a bad thing, branching outside of the loop might cause some serious issues if not handled properly.
James McKenzie