Quote:
Do you know a more optimized way like a loop that checks a list that contains all the nicknames of the members ?
A more primitive approach is to use a dichotomy search.
Binary search algorithm - Wikipedia[
^]
First make a list of Ids and Names, make sorted on Ids.
Liste[]= {{"0D44A8E3F29D9E568FE31C7DE45A80E0", "Pseudo 3"},
{"FB23E1A8B7E2944FAAEC6219BBDF8243", "Pseudo 1"},
{"FE63D6040E22611D978B73064B3A2057", "Pseudo 2"},
... }
Then apply the binary search algorithm.
When you don't have dictionary container, Dichotomy is much simpler to create from scratch, and with same efficiency.