As of today, NoAI gained a scheduler. This beautiful piece of work by Morloth has several side-effects, of which most noticeable: your AI will perform a bit worse. What happens is this:
If your AI would contains:
Your AI would hang for ever, and worse: OpenTTD would too. As of today, this is no longer true. Every 4000 internal Squirrel commands, your AI is given a Sleep() for 1 tick. This makes sure the game keeps on responding no matter what. Also, it no longer allows you to scan the whole map in the first day, and fast pick all the good routes before any other AI can. You have to think a bit more now. All AIs are scheduled 'fair', and all get a piece to look at in the first game-day.
On a nice side-note: when you issue a Sleep() yourself, the counter is reset. This means if you add Sleep() at nice places in your code, the chances are that your AI performs better than when you remove them all.
Happy AI writing
The only thing necessary for the triumph of evil is for good men to do nothing.