mirror of
https://github.com/kennethreitz-archive/gitx.git
synced 2026-06-05 23:40:18 +00:00
cfbcfc1f38
This speeds up the diff display by using DOM manipulation instead of .innerHTML. Apparently incremental .innerHTML is really expensive compared to DOM manipulation (which is expensive compared to a single .innerHTML=). For example, the v0.2.1 commit, which introduces Sparkle, now loads in 70ms rather than 230.