Tachometer and interrupt, can I improve it?

Change your approach to measuring,. Instead of measuring the number of pulses in a fixed period of time, determine the time period for a fixed number of pulses.