well that code is fast, maybe your problem is in another place... 20-30 is a lot to do what you say m8.

what is your cpu speed?