The code is relatively quick -- at least on my machine -- and a typical alignment takes less than 1 second. I also wrote a pure-Python version of the very same program, but never released it because it was about an order of magnitude slower that the C/Python mixed code.