Thanks AWOL, but even a newbie understands that a servo is a mechanical device. You said
If you want faster, you need a bigger energy budget
I do not understand what that means. Do you mean I must pay more for electricity? Or use bigger wires? Or use thousands of volts instead of only five volts?
As majenko explained, I don't want to use Wait() functions (as used in most simple example programs) and have the program just wait and do nothing while the servo is moving or waiting for an echo from a sonic sensor and perhaps miss encoder input pulses.
Thanks majenko for the link to your tutorial. These techniques are needed in real-life real-time multitasking programming and I was looking for suggestions as to where I can see example code of these advanced techniques.