Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Testicular Slingshot
Alchemy Viewer
Commits
c0e035a1
Commit
c0e035a1
authored
Feb 19, 2020
by
Rye Mutt
🍞
Browse files
Make calling card buddy map a flat_hash_map for increased find performance
parent
a29913f4
Changes
1
Hide whitespace changes
Inline
Side-by-side
indra/newview/llcallingcard.h
View file @
c0e035a1
...
...
@@ -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);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment