Skip to content
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

The previewer is slow when hovering big files #3164

Open
dev-ardi opened this issue Jun 12, 2024 · 0 comments
Open

The previewer is slow when hovering big files #3164

dev-ardi opened this issue Jun 12, 2024 · 0 comments
Labels
enhancement Enhancement to performance, inner workings or existent features

Comments

@dev-ardi
Copy link

dev-ardi commented Jun 12, 2024

When I have a couple of +10MB xml files in my repo, and when I'm live grepping for something they get opened in the previewer blocking neovim and preventing me from scrolling past.

Two options:

  • Either do it asynchronously to avoid blocking.
  • read(2) the file at the a byte offset and load only the relevant data that fits in the preview.
@dev-ardi dev-ardi added the enhancement Enhancement to performance, inner workings or existent features label Jun 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Enhancement to performance, inner workings or existent features
Projects
None yet
Development

No branches or pull requests

1 participant