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

Sometimes tremendous slowdowns #2

Open
rwols opened this issue Jun 16, 2017 · 5 comments
Open

Sometimes tremendous slowdowns #2

rwols opened this issue Jun 16, 2017 · 5 comments

Comments

@rwols
Copy link

rwols commented Jun 16, 2017

In large YAML files at around 2k lines my Sublime gets kind of slow. Could you please have a look at this? Specifically, this file when the cursor is at the bottom of the file is problematic.

@qbolec
Copy link
Owner

qbolec commented Jun 16, 2017 via email

@qbolec
Copy link
Owner

qbolec commented Jun 16, 2017

Hi!
I've pushed an optimized version to the master branch (as version 1.0.2). It seems to run 5x faster in Sublime Text 2 on my machine, for the file you provided.
Could you please test it on your machine?
(For example, by overwriting %AppData%\Sublime Text 2\Packages\Breadcrumbs\Breadcrumbs.py with https://raw.githubusercontent.com/qbolec/Breadcrumbs/master/Breadcrumbs.py)

@rwols
Copy link
Author

rwols commented Jun 17, 2017

This works a lot faster already, thanks a lot for your work.

May I also suggest to use on_selection_modified_async?

@qbolec
Copy link
Owner

qbolec commented Jun 17, 2017 via email

@rwols
Copy link
Author

rwols commented Jun 17, 2017

You might want to make sure that that also works for ST2 though, I'm not sure when that member function was introduced for EventListener.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants