very true words!
I have not known this is because of wait(), but I just transformed my code (accidently finished 5 minutes ago) from actions into a loop cycling throughout my units, and calling the same update function based on similar suggestions (it requires some more data storage to keep them over updates, but neglectable), and I got +10fps as an average, but what is a more exact measure, function processing time dropped from 31ms to around 18ms! it really does matter! I used 980 moving/colliding/pathfinding/animated units.
I'll post my result in another thread, where I will say: thanks guys!