4 ms·
Async I/O? In a text editor, where the bulk of the time is spent waiting for the user to do something? I've used (an older version of) Vim on huge 100MB+ files
by userbinator 11y ago
Async I/O? In a text editor, where the bulk of the time is spent waiting for the user to do something?
I've used (an older version of) Vim on huge 100MB+ files and never thought it to be slow at all. In fact I don't think I've ever experienced any lag with Vim. I suspect you won't find this new version any faster.
- BonsaiDen 11y agoThis is mostly about linters, makeprg's and things like Ctrl+P / Command+T, git-gutter etc. I recently switched to NeoVim and it really _does_ make a world of difference, saving is a whole lot faster when git-diff can be performed asynchronously and the ability to scan directories in the background makes fuzzy searching of files a lot faster.
- chronial 11y agoThis is in fact fixing a massive pain point in vim, and one of the main reasons why NeoVIM has so much support. Saving a file in vim takes 1-2 seconds for me. Not because my disk is slow, but because I run some linters on my files, that take that long to all complete. Async I/O is not about disk I/O, but communication with other programs.
- hollander 11y agoI've opened 5GB files in Vim, on an average 2010 Ubuntu desktop. It took some time, like 5 minutes, but it worked.