-
Notifications
You must be signed in to change notification settings - Fork 21
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
Why yafolding-hide-element so slow? #37
Comments
It seems to iterate through every line of the file to check whether they should be "ignored" every time that you hide an element. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Windows 10, Emacs 25.1, Helm, yafolding ver. 20170304.1917
I open json file. Count of rows is 1900. And I want to hide one json item. So I input command
M-x yafolding-hide-element
After press Enter I wait about 15 seconds while command is finish.
![emacs_2](https://user-images.githubusercontent.com/303539/43637054-77659626-971c-11e8-9562-13bc1b4f9c79.png)
Why yafolding-hide-element is work so slow?
If I use
M-x yafolding-show-element
it's work immediately.P.S. When I start
emacs -Q
I got the same result.The text was updated successfully, but these errors were encountered: