Untitled
unknown
plain_text
a year ago
388 B
4
Indexable
struct DStringPtrHash { uint64_t operator()(const DolphinString* str) const { return XXHash64(str->getData(), str->length()); } }; struct DStringPtrEqual { bool operator()(const DolphinString* a, const DolphinString* b) const { return a->compare(*b) == 0; } }; tsl::ordered_map<DolphinString*, INDEX, DStringPtrHash, DStringPtrEqual> mp(len);
Editor is loading...
Leave a Comment