I am comparing two hash tables that comprise of 5000 elements each so as to get the number of similar keys. The moment i find a match i delete that key from both the hashes. My question is :- Would the performance of my program improve or degrade if i keep deleting the keys?.
Please suggest.