author | Paul Mackerras <paulus@samba.org> | |
Wed, 22 Aug 2007 12:35:28 +0000 (22:35 +1000) | ||
committer | Paul Mackerras <paulus@samba.org> | |
Wed, 22 Aug 2007 12:35:28 +0000 (22:35 +1000) | ||
commit | 92ed666fa761554c67c8f883863517870a65376d | |
tree | bd86288c9c57ac8775c31774bb2f8b743f5bc8f4 | tree | snapshot |
parent | 42b09269fd27afacf2febd59895789c92fd417fe | commit | diff |
gitk: Get rid of idrowranges and rowrangelist
Instead make the rowranges procedure compute its result by looking
in the rowidlist entries for the rows around the children of the id
and the id itself. This turns out not to take too long, and not having
to maintain idrowranges and rowrangelist speeds up the layout.
This also makes optimize_rows not use rowranges, since all it really
needed was a way to work out if one id is the first child of another,
so it can just look at the children list.
Signed-off-by: Paul Mackerras <paulus@samba.org>
Instead make the rowranges procedure compute its result by looking
in the rowidlist entries for the rows around the children of the id
and the id itself. This turns out not to take too long, and not having
to maintain idrowranges and rowrangelist speeds up the layout.
This also makes optimize_rows not use rowranges, since all it really
needed was a way to work out if one id is the first child of another,
so it can just look at the children list.
Signed-off-by: Paul Mackerras <paulus@samba.org>
gitk | diff | blob | history |