On Apr 22, 2009, at 1:56 PM, John Wiegley wrote:


On Apr 22, 2009, at 1:15 PM, David Abrahams wrote:

I moved some directories around, but haven't committed yet, and now magit crawls. I shouldn't be too surprised, since when I look at the buffer in text mode, it's 36003 lines long. Still, git is fast. Magit should be fast, too.

I run into this as well. Often I will use "tig" for just these moments, and then go back to magit. Elisp can rather slow at large tasks sometimes, but perhaps there are ways to optimize magit too.


Well, it could be a lot lazier about discovering changes. Right now it appears you store a complete diff of the repo and then "fold" away the parts that shouldn't be displayed. Instead you could gather just the information needed to display the buffer and then gather the rest of the info during idle (or on demand, whichever comes first).

--
David Abrahams
BoostPro Computing
http://boostpro.com




Reply via email to