AbstractStateProvider: use unordered_map for perf