[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[circle] chat fields
From: |
Thomas Voegtlin |
Subject: |
[circle] chat fields |
Date: |
Fri, 27 Jun 2003 07:50:34 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021003 |
I modified the implementation of chat fields in chatgtk.py
(oh, and I also did some cleaning, moving gtk stuff from
chat.py into chatgtk.py)
The array chat.fields has been replaced by a double linked list.
this avoids the use of expensive operarions such as "if x in fields",
or fields.index(x). Inserting and deleting fields are now O(1), and
showing text is also improved.
So the chat window should be much faster now, especially if
you use the /find command to display long lists of files.
Since this is a big change, however, there might still be bugs
remaining. For example, some of the CVS versions of yesterday
were fairly broken. I think it is all fixed now, but please apologize
if you still find bugs.
Thomas
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [circle] chat fields,
Thomas Voegtlin <=