• Jiří Techet's avatar
    Prepend values to GtkTreeStore to eliminate quadratic complexity · 44fec8f7
    Jiří Techet yazdı
    The tree model nodes consist of GNode structs:
    
    struct GNode {
      gpointer data;
      GNode	  *next;
      GNode	  *prev;
      GNode	  *parent;
      GNode	  *children;
    };
    
    where children are a linked list. To append a value, the list has to be
    walked to the end and with nodes with many children (which is our case)
    this becomes very expensive.
    
    We sort the tree afterwards anyway so it doesn't matter where we insert the
    value.
    44fec8f7
Adı
Son kayıt (commit)
Son güncelleme
data Loading commit data...
doc Loading commit data...
icons Loading commit data...
m4 Loading commit data...
plugins Loading commit data...
po Loading commit data...
scintilla Loading commit data...
scripts Loading commit data...
src Loading commit data...
tagmanager Loading commit data...
tests Loading commit data...
.gitignore Loading commit data...
AUTHORS Loading commit data...
COMMITTERS Loading commit data...
COPYING Loading commit data...
ChangeLog Loading commit data...
ChangeLog.pre-0-17 Loading commit data...
ChangeLog.pre-1-22 Loading commit data...
HACKING Loading commit data...
INSTALL Loading commit data...
Makefile.am Loading commit data...
NEWS Loading commit data...
README Loading commit data...
README.I18N Loading commit data...
README.Packagers Loading commit data...
THANKS Loading commit data...
TODO Loading commit data...
autogen.sh Loading commit data...
configure.ac Loading commit data...
geany.desktop.in Loading commit data...
geany.exe.manifest Loading commit data...
geany.gladep Loading commit data...
geany.nsi Loading commit data...
geany.pc.in Loading commit data...
geany.spec.in Loading commit data...
geany_private.rc Loading commit data...
makefile.win32 Loading commit data...
waf Loading commit data...
win32-config.h Loading commit data...
wscript Loading commit data...