Optimized interpreter to only consider functions that have been scanned.