Files
AyuGramDesktop/Telegram/SourceFiles
futpib dc6b9dda4d Use faster containers for bulk-populated custom emoji maps
Replace base::flat_map (sorted vector with O(n) insertion) with
std::unordered_map for CustomEmojiManager::_instances and std::map
for EmojiListWidget::_customEmoji. These maps accumulate ~8000
entries during startup with unsorted keys, causing O(n²) total
insertion cost. This change reduces refreshCustom() from ~3s to
~50ms (57x speedup).
2026-03-05 15:20:36 +04:00
..
2026-02-28 19:07:11 +04:00
2026-03-04 11:44:40 +03:00
2026-03-03 12:16:32 +04:00
2026-03-05 11:30:38 +04:00
2026-02-28 19:07:11 +04:00
2026-03-04 11:44:40 +03:00