From: Paul Mackerras Date: Wed, 16 Aug 2006 10:02:32 +0000 (+1000) Subject: gitk: Improve responsiveness while reading and layout out the graph X-Git-Tag: v1.4.4-rc2~12^2~2 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/d1e46756d312f65613863a41c256d852fcde330c?hp=d1e46756d312f65613863a41c256d852fcde330c gitk: Improve responsiveness while reading and layout out the graph This restructures layoutmore so that it can take a time limit and do limited amounts of graph layout and graph optimization, and return 1 if it exceeded the time limit before finishing everything it could do. Also getcommitlines reads at most half a megabyte each time, to limit the time it spends parsing the commits to about a tenth of a second. Also got rid of the unused ncmupdate variable while I was at it. Signed-off-by: Paul Mackerras ---