org-tidy icon indicating copy to clipboard operation
org-tidy copied to clipboard

Performance with large buffers

Open acowley opened this issue 11 months ago • 1 comments

I find the idea of org-tidy very appealing, and thank you for making it. A problem I've run into is that with a large org file (~60k lines), saving can take several (~7) seconds. I usually have that file in a mostly-folded state, so I'm wondering if there's anything we can do to make the overlay toggling more efficient for folded subtrees. Thank you again for sharing the package!

acowley avatar Feb 27 '24 13:02 acowley

I have exactly the same experience. I would love to use this package, but unfortunately this is a complete deal-breaker for me and I will regrettably have to disable this mode for now. It would be awesome if this performance issue could be fixed!

Interestingly my TODO.org is ~580k and yet saving takes around 9-10 seconds. Given that it's an order of magnitude bigger than @acowley's, I wonder why it's not significantly slower too.

aspiers avatar Apr 07 '24 12:04 aspiers