I have a function that scans through alot of string data, is there a way I can improve memory efficiency ... so that if this function is called over and over ... perhaps in a loop, it will improve it's speed and won't tie up resources?