Right now member cache stores the list of member types used to fetch each name separately because there's tricky logic for matching members with member types. It should not be hard to only store one entry for each member name in most/all cases. Then we can do the filtering logic after fetching the cache.
This is a performance enhancement.
Right now member cache stores the list of member types used to fetch each name separately because there's tricky logic for matching members with member types. It should not be hard to only store one entry for each member name in most/all cases. Then we can do the filtering logic after fetching the cache.