From: Paul Mackerras Date: Mon, 14 Nov 2005 23:34:03 +0000 (+1100) Subject: Add -r flag and some speedups X-Git-Tag: v0.99.9k^2~73^2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/232475d38231552f04f2e4221936700a923a531e?hp=232475d38231552f04f2e4221936700a923a531e Add -r flag and some speedups The -r flag means "rev-list order", i.e. just display the commits in the order they come from git-rev-list. The speedups include: - don't process the whole commit line-by-line, only the header - don't convert dates when reading the commits, rather do it when needed - don't do the $canv delete lines.$id in drawlines when drawing the graph initially (it was taking a lot of the total time) - cache the date conversion for each hour (more important with tk8.5, since [clock format] is a lot slower in 8.5 than in 8.4). Signed-off-by: Paul Mackerras ---