Ok, Using a while loop takes exactly twince as much as it takes doing the same loop with Goto which breaks when the hash table is cleaned from the data I want.

It also appears that /timer 0 0 , is as fast as using goto.

I'm going to try the idea of DaveC and see if it can speed things up a little, or if it works well with my data.