Closed justbur closed 8 years ago
Thanks, any ideas of fxn besides ranger-setup-preview
that would also benefit being delayed?
Not sure. I was just looking for lag and seeing if there was a function that could be delayed. setup-preview
and show-details
seemed to work well because they were called from next-line
and prev-line
. Any other commands that could be called quickly?
I'm getting much better performance just from these two, so you could probably leave it for now
I did a benchmark with elp
active for ranger and don't see much else that is taking a lot of time. Will try more iterations and see if I can find anything.
Maybe you could get away with not loading the files in fundamental mode if you delayed the preview function like this?
Possibly. we should still keep the option, but we can revert the default.
Useful for adding more delayed functions and having them behave consistently.