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
ivy.el (ivy--select-occur-buffer): Support frames #1855
base: master
Are you sure you want to change the base?
Conversation
Sorry, just in case it's not clear: |
Sorry, but your commits break performance. Here's how I benchmark it: in ivy.el, Please use this code for a benchmark: (defhydra hydra-grep-jk (global-map "β")
("j" ivy-occur-next-line "up")
("k" ivy-occur-previous-line "dn")
("q" nil)) Then try to cycle though candidates with βjjjjjjjjjjjkkkkkkk. With the current master, it's smooth. But with your change there's no redisplay and Emacs hangs for a while. This is likely because |
I can't reproduce any slowdown or hanging with your recipe - it's just as fast either way. Perhaps there's something in your |
Are you able to reproduce the slowdown from |
Yes, on Emacs 26.1 it's reproducible. |
My full question also asked about So, without a more detailed recipe I can't figure out why |
Please elaborate, I wasn't aware of this. |
A good example of such a difference within Counsel itself is the change in behaviour of |
Would doing |
Sure, I think that would be much closer to How about providing both: one target which just loads Ivy, Swiper, and Counsel, and another which additionally activates packages? |
I think we don't actually need that one. I've turned it off. Maybe I wanted it for something like |
(ivy--find-occur-buffer): Save buffer once. Use eq instead of equal for buffer objects. (ivy-occur-next-line, ivy-occur-previous-line): Reword docstrings without contractions.
8eaf6bd
to
f7dcf3e
Compare
(
ivy--find-occur-buffer
): Save buffer once.Use
eq
instead ofequal
for buffer objects.(
ivy-occur-next-line
,ivy-occur-previous-line
):Reword docstrings without contractions.
Please check that these changes make sense, as I haven't actually tested them properly.