mirror of
https://github.com/irssi/irssi.git
synced 2026-08-11 12:53:42 +02:00
speed up window_item_find by interning name and removing call to channel_find
This commit is contained in:
parent
d1e60a3b8f
commit
a4c62a3fee
4 changed files with 3 additions and 11 deletions
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
#include "window-item-rec.h"
|
||||
|
||||
char *name;
|
||||
char *topic;
|
||||
char *topic_by;
|
||||
time_t topic_time;
|
||||
|
|
|
|||
|
|
@ -2,7 +2,6 @@
|
|||
|
||||
#include "window-item-rec.h"
|
||||
|
||||
char *name;
|
||||
char *address;
|
||||
char *server_tag;
|
||||
time_t last_unread_msg;
|
||||
|
|
|
|||
|
|
@ -7,7 +7,7 @@ GHashTable *module_data;
|
|||
void *window;
|
||||
STRUCT_SERVER_REC *server;
|
||||
char *visible_name;
|
||||
|
||||
char *name;
|
||||
time_t createtime;
|
||||
int data_level;
|
||||
char *hilight_color;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue