timbrel / GitSavvy

Full git and GitHub integration with Sublime Text
MIT License
1.9k stars 136 forks source link

Draw `LineHistory` in a streaming manner #1928

Closed kaste closed 3 months ago

kaste commented 3 months ago

For longer graphs, Line History can become slow. So switch from wait and draw to streaming mode. The code for that is borrowed from the graph drawing.

Still TODO: Probably stop after n lines. YAGNI: There is no buffering at all. It looks like Sublime can draw simple "appends" just fast enough.