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

freeze about 10 sec on search in opened file #25

Closed
dmitrychepel opened this issue May 23, 2018 · 2 comments
Closed

freeze about 10 sec on search in opened file #25

dmitrychepel opened this issue May 23, 2018 · 2 comments
Labels
bug Something isn't working

Comments

@dmitrychepel
Copy link

dmitrychepel commented May 23, 2018

freeze about 10 sec on search in opened file
steps to repro

  1. generate tags by universal ctags
  2. goto to some file (could provide by request and index too)
  3. open menu "search in opened file"
  4. plugin freezes
@EugeneManushkin
Copy link
Owner

Reproduced on file containing ~ 40 000 tags.
Probable solution: search tags by name then filter found tags by file

@EugeneManushkin EugeneManushkin added the bug Something isn't working label Jul 13, 2018
@EugeneManushkin
Copy link
Owner

This happened due to almost lineral complexity of searching algorithm.
Fixed in #85.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants