speed up connection speed a good bit

loading save state was slow so now theres a temporary lookup table
This commit is contained in:
ouwou
2021-12-31 16:42:06 -05:00
parent b576bd0fcc
commit 5338eab3a5
3 changed files with 22 additions and 10 deletions

View File

@@ -120,6 +120,10 @@ protected:
bool m_updating_listing = false;
// (GetIteratorForChannelFromID is rather slow)
// only temporary since i dont want to worry about maintaining this map
std::unordered_map<Snowflake, Gtk::TreeModel::iterator> m_tmp_channel_map;
public:
typedef sigc::signal<void, Snowflake> type_signal_action_channel_item_select;
typedef sigc::signal<void, Snowflake> type_signal_action_guild_leave;