Changeset 20aced3 for owl.h


Ignore:
Timestamp:
May 16, 2010, 1:15:25 AM (11 years ago)
Author:
David Benjamin <davidben@mit.edu>
Branches:
master, release-1.7, release-1.8, release-1.9
Children:
2cfc6d7
Parents:
c314f39
git-author:
David Benjamin <davidben@mit.edu> (05/14/10 20:22:01)
git-committer:
David Benjamin <davidben@mit.edu> (05/16/10 01:15:25)
Message:
Use GQueue instead of owl_list for the incoming message queue

Otherwise, we process the queue in O(N^2) time. This isn't actually a
bottleneck, but it becomes one whenever we create fake messages in bulk
for testing purposes.

Signed-off-by: David Benjamin <davidben@mit.edu>
File:
1 edited

Legend:

Unmodified
Added
Removed
  • owl.h

    r3f6555d r20aced3  
    606606  char *aim_screenname_for_filters;     /* currently logged in AIM screen name */
    607607  owl_buddylist buddylist;  /* list of logged in AIM buddies */
    608   owl_list messagequeue;    /* for queueing up aim and other messages */
     608  GQueue *messagequeue;     /* for queueing up aim and other messages */
    609609  owl_dict styledict;       /* global dictionary of available styles */
    610610  char *response;           /* response to the last question asked */
Note: See TracChangeset for help on using the changeset viewer.