Large chat room performance again

Sadrul Habib Chowdhury imadil at gmail.com
Sat Apr 14 13:44:31 EDT 2007


* Fredrik Tolf had this to say on [14 Apr 2007, 18:48:28 +0200]:
> On Sat, 2007-04-14 at 12:46 -0400, Sadrul Habib Chowdhury wrote:
> > * Fredrik Tolf had this to say on [14 Apr 2007, 18:31:44 +0200]:
> > > Hi list!
> > > 
> > > This is my third post to this list regarding this topic, so I'm at it
> > > again. :)
> > > 
> > > I've gotten my previous issues to work now, but there seems to be a
> > > performance issue with the GTK user list when the user count is ~10000.
> > 
> > With this many users in the chat, does it make any sense to show them in
> > the userlist at all? Perhaps your prpl should bypass _chat_add_users
> > (and family) and not worry about the userlist at all.
> 
> Yes, I was thinking of that solution as well. Specifically, I thought
> that it could be wise to add just the users that have actually been
> chatting.
> 
> However, without the user list, I don't know of a good way to PM other
> users.

You can provide a conversation-command to the user, perhaps something
like "/pm <user>" which will create an IM-conversation with <user>. You
will need to look at the purple_cmd_ family of functions for this.

Sadrul



More information about the Devel mailing list