Closed CKolkey closed 1 year ago
Thanks for your contribution, but I have struggled with the performance of this part, and finally gave up optimization.
The side-effects of this PR I know:
Exec Gzz
and open folded lines can't redraw, like opening fold for 347 line:
AFAIK, ufo's perf is not bad, had you encountered some perf issues?
No, I can't say I have any issues with performance. I was mostly just a bit shocked to see the overeagerness of the decoration providers. I tried to recreate the issue you are describing, but it seemed to work fine as far as I can tell. That said, if this isn't a road you want to go down again, no worries, just thought I would mention something :)
I was doing some (unrelated) performance profiling and came across some very over eager decorator callbacks. Maybe this has some side-effects that I don't see, but as far as I can tell everything is working just fine, and graphs look a bit better.
before:
after: