Skip to content
Snippets Groups Projects
Commit c0e035a1 authored by Rye Mutt's avatar Rye Mutt :bread:
Browse files

Make calling card buddy map a flat_hash_map for increased find performance

parent a29913f4
No related branches found
No related tags found
No related merge requests found
......@@ -107,7 +107,7 @@ public:
// add or remove agents from buddy list. Each method takes a set
// of buddies and returns how many were actually added or removed.
typedef std::map<LLUUID, LLRelationship*> buddy_map_t;
typedef absl::flat_hash_map<LLUUID, LLRelationship*> buddy_map_t;
S32 addBuddyList(const buddy_map_t& buddies);
//S32 removeBuddyList(const buddy_list_t& exes);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment