Closed aswna closed 5 years ago
Hi, Thank you for asking . Yes, I have found a performance issue like that in vim when I tried to do my best in the latest version 7.6. Actually, vim always searches all the previous highlight IDs if the new ID is duplicated or not when it is added. So if so many IDs has been defined, it takes a lot of time.
As a workaround, I would recommend to separate lines and do diff:
If you can compare line by line (same line) between your two files, try this simple script. This will make a diff only on the displayed lines on a window, and continue to do each time you scroll the page.
Hi, is it possible to improve the performance of this plugin (f.i.: highlight a smaller) working on larger input files? Symptom: CPU usage is 100% when comparing two ~40MB (CSV) files differing only in the data in a specific column. Vim remains unresponsive even after showing the diff (hence cannot even navigate or quit vim). It seems, 80.000 lines in the files are enough the reproduce this (on my setup). The lines are ~80 characters long, separated in ~10 columns.