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

Why yafolding-hide-element so slow? #37

Open
alexei-28 opened this issue Aug 3, 2018 · 1 comment
Open

Why yafolding-hide-element so slow? #37

alexei-28 opened this issue Aug 3, 2018 · 1 comment

Comments

@alexei-28
Copy link

alexei-28 commented Aug 3, 2018

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

emacs_1

After press Enter I wait about 15 seconds while command is finish.
emacs_2

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.

@markasoftware
Copy link

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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants