I have a rotary encoder with a very high resolution (5000 pulses per rotation). I've used several different python scripts to count and display the pulse count as I turn the encoder. The faster I turn the more pulses are missed or the program lags. I've read that because python is interpreted it would be best to write my code in C. But based on the examples I've seen the resolution of their encoders is quite low - maybe a couple hundred at most. Do I also need a designated micro controller to handle the pulse events? If so how would I determine the processing power needed to handle this task?