• Havoc Pennington's avatar
    cache end line, for rapid testing whether an iterator is the end iterator · 41b5d5d2
    Havoc Pennington authored
    2000-08-31  Havoc Pennington  <hp@pobox.com>
    
    * gtk/gtktextbtree.c (GtkTextBTree): cache end line,
    for rapid testing whether an iterator is the end iterator
    (gtk_text_btree_new): init end line cache
    (gtk_text_line_is_last): use fast cached line to
    see if we're the last line.
    (get_last_line): use cached line here too, should
    speed up some random unrelated code.
    41b5d5d2
gtktextbtree.c 164 KB