-
Notifications
You must be signed in to change notification settings - Fork 73
TextBuffer makes vim word motion painfully slow in large file #308
Comments
Thanks @jedwards1211 - @t9md if you find something specific in your investigation that you think the team should take a look at and it's not something you can resolve in vim-mode-plus, please let us know. |
Investigated quickly. https://github.com/atom/text-buffer/blob/master/src/text-buffer.js#L1536 Maybe I believe the original assumption is What I can come up with to overcome current limitation is to implement own version of |
See t9md/atom-vim-mode-plus#1113.
Basically, it's
TextBuffer
's fault.TextBuffer.findAllInRangeSync
is going super slow at the beginning of the file.Considering this and issues with find in replace in large files being really slow, it's obvious that
TextBuffer
needs some serious improvement.Edit by @rsese to copy the detailed issue description from t9md/atom-vim-mode-plus#1113
The text was updated successfully, but these errors were encountered: