Spaces:
Running
Running
// Map typedefs so that we can use folly's F14 maps in fbcode without | |
// taking a folly dependency. | |
namespace c10 { | |
template <typename Key, typename Value> | |
using FastMap = folly::F14FastMap<Key, Value>; | |
template <typename Key> | |
using FastSet = folly::F14FastSet<Key>; | |
template <typename Key, typename Value> | |
using FastMap = std::unordered_map<Key, Value>; | |
template <typename Key> | |
using FastSet = std::unordered_set<Key>; | |
} // namespace c10 | |