ForesiteResourceMap performance issue
Profiling reveals that much time is spent in IndexVisibilityDelegate, and it seemingly is called twice unnecessarily, first in _init, second in getAllResourceIDs().
This class in general is not well documented and has some confusing traversal code, so it is difficult to assess what exactly is going on. It also seems to be a misleading encapsulation of data, in that it attempts to filter out resource map members based on current system metadata properties (archived or not), but that's not mentioned at all in the sparse javadocs.
the code needs to be reviewed to make sure no unnecessary calls are made.
If resource map checking (for completeness) is not going to be done anymore, this class probably should be deprecated or removed.