diff options
author | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-11-03 20:10:22 +0900 |
---|---|---|
committer | Kitsune Ral <Kitsune-Ral@users.sf.net> | 2018-11-03 20:10:22 +0900 |
commit | 00f2f9f376a046717bed6818410610b6cc52dd9a (patch) | |
tree | b585785b9c0874059bd70a2847aa4e91cf565397 /lib/csapi/definitions | |
parent | 7c7ce3d468af242364efb53e77ed12047b6a5382 (diff) | |
download | libquotient-00f2f9f376a046717bed6818410610b6cc52dd9a.tar.gz libquotient-00f2f9f376a046717bed6818410610b6cc52dd9a.zip |
User::displayname(): avoid calling nameForRoom twice
nameForRoom() is O(n) in this context (n - number of names of a given
user).
Diffstat (limited to 'lib/csapi/definitions')
0 files changed, 0 insertions, 0 deletions