-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Bad Performance #51
Comments
Sorry, not enough information. |
I didn't mention this because it was a bug in my config/system etc. Just try it on a "big" file and you'll reproduce. |
Can reproduce on a 10K lines markdown file. |
Test case? |
Most noticeable for me on https://github.com/justinmk/notes/blob/master/delicious.md but haven't narrowed down minimal steps. |
I can barely open that file with a minimal config. It completely locks up with We can explore adding some optimizations in places so massively long lines can be handled better, but whatever we do the functionality provided by this plugin is never going to be free. |
Graceful degradation would be totally acceptable and avoids needing to manually |
Hmm, I can't replicate with: vim.opt.rtp:prepend '/Users/lewrus01/projects/satellite.nvim'
require('satellite').setup()
|
Ok I'll try to narrow it down |
could you remove the |
We've not determined anything yet. The initial description contained no useful information other than "bad performance". Tbh, I'm not really sure why Justin commented here as it seems his issues are with very specific non-normal files. |
I commented here because |
Actually treesitter is the issue, not satellite. |
It looks like for each mark, If that's the case, I think that could cause a slowdown for large files with many marks, since If my interpretation is correct (that successive calls are being made to For example, suppose that for a refreshing cycle that there is a call to |
Files contain >4000 loc (when satellite is enabled) have big impact on performance
satellite-nvim-showcase-2023-08-21_06.52.04.mp4
#45
The text was updated successfully, but these errors were encountered: