# HG changeset patch # User Etan Reisner # Date 1234418800 0 # Node ID c1f85543556d9b2beacbdd9cdf03524db98ffb87 # Parent eece2d17ab6563c70f45c4c04d29fc7f47852ccc# Parent fa5987472e007fb203543c3a5a140731ced51372 merge of 'afc2bc7354c9b7ddb6cb80de073d5ae620fe94a5' and 'b79100551ea19cf35ee8952a34a44b97204e75f3' diff -r eece2d17ab65 -r c1f85543556d libpurple/account.h --- a/libpurple/account.h Thu Feb 12 06:02:20 2009 +0000 +++ b/libpurple/account.h Thu Feb 12 06:06:40 2009 +0000 @@ -132,6 +132,14 @@ /* to NULL when the account inherits */ /* proxy settings from global prefs. */ + /* + * TODO: Supplementing the next two linked lists with hash tables + * should help performance a lot when these lists are long. This + * matters quite a bit for protocols like MSN, where all your + * buddies are added to your permit list. Currently we have to + * iterate through the entire list if we want to check if someone + * is permitted or denied. We should do this for 3.0.0. + */ GSList *permit; /**< Permit list. */ GSList *deny; /**< Deny list. */ int perm_deny; /**< The permit/deny setting. */