From c0e035a11108dc413e084db7190103b43eaaf62c Mon Sep 17 00:00:00 2001 From: Rye Mutt <rye@alchemyviewer.org> Date: Wed, 19 Feb 2020 19:40:00 -0500 Subject: [PATCH] Make calling card buddy map a flat_hash_map for increased find performance --- indra/newview/llcallingcard.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/indra/newview/llcallingcard.h b/indra/newview/llcallingcard.h index 09c440c276..081fc44100 100644 --- a/indra/newview/llcallingcard.h +++ b/indra/newview/llcallingcard.h @@ -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); -- GitLab