sslsecure.vim icon indicating copy to clipboard operation
sslsecure.vim copied to clipboard

Bad performance

Open infertux opened this issue 7 years ago • 2 comments

Cool project but unfortunately it makes my Vim very sluggish to the point I had to uninstall the plugin for now. There is a significant lag whenever I type and auto-completion is very slow (about 5 fps at a guess). I'm using Vim 8.1.374. Please let me know if you need help with debugging.

infertux avatar Oct 12 '18 12:10 infertux

I can confirm this issue, I'm also experiencing this especially in bigger files. I've tried looking into this to increase performance, but unfortunately I'm not a vimscript crack, so help is welcome.

A suggestion would be to only evaluate the matching rules for marking ciphers upon save/ changing modes, etc.

chr4 avatar Oct 15 '18 06:10 chr4

I've never written any vimscript so I won't be of much help but one of the major features of Vim 8 was support for async jobs so perhaps you could leverage it.

http://vimhelp.appspot.com/version8.txt.html#new-8 http://vimhelp.appspot.com/channel.txt.html

infertux avatar Oct 16 '18 00:10 infertux