benma / visual-regexp-steroids.el

Extends visual-regexp to support other regexp engines
255 stars 14 forks source link

vr/isearch-forward very slow #27

Closed smcallis closed 5 years ago

smcallis commented 6 years ago

I'm having a problem, I've got vr/isearch-forward bound to C-s, which works fine at home. But on my work computer it's very slow, there's a noticeable lag from keypress to keypress. Is there any way to speed that up? Looking at the code it looks like it spawns a sub-process but I'm not sure exactly how often...

benma commented 6 years ago

Hi

Check a similar issue here:

https://github.com/benma/visual-regexp.el/issues/52#issuecomment-335147520

Could this be the reason?

smcallis commented 6 years ago

That's almost certainly the reason, there's a lot more cruft in my work python. Is there any way to amortize that process cost? Maybe keep the sub-process open and pipe requests in/out?

On Wed, Aug 15, 2018 at 9:34 AM benma notifications@github.com wrote:

Hi

Check a similar issue here:

benma/visual-regexp.el#52 (comment) https://github.com/benma/visual-regexp.el/issues/52#issuecomment-335147520

Could this be the reason?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/benma/visual-regexp-steroids.el/issues/27#issuecomment-413236205, or mute the thread https://github.com/notifications/unsubscribe-auth/AAxGKinE-hft2Eym-AWtkobXb_KlFx5Mks5uRD-hgaJpZM4V-PgT .

benma commented 5 years ago

Yes, something like this would be the solution. I'll close this as a duplicate of https://github.com/benma/visual-regexp.el/issues/52