cache the looked up results in a std::map<string,void*>