-
Notifications
You must be signed in to change notification settings - Fork 5
-
Notifications
You must be signed in to change notification settings - Fork 5
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
Speed #2
Comments
Other than spawning new racer proccess everytime, it saves a new temp file at each keystroke. That can also cause the lag but it's only way to communicate with racer. So as you said, running racer async or using a racer daemon maybe reduce the lag. I'll look into that. And thanks for your interest! |
racer can probably be modified to accept input on stdin rather than a (temporary) file, but I don’t know if that is a bottleneck. Let me know if I can help. |
Thank you for making this, I like it!
A minor downside is that I see some noticeable lag at each keystroke when typing, especially if my CPU cores are busy (even though I’m running Cargo under
nice
).Do you know if gedit’s UI is blocked while racer is running? If so, making things asynchronous would maybe reduce the perception of lag.
Or do you have other ideas for what could make things faster? Maybe having a long-running racer process rather than spawning a new one for every keystroke?
The text was updated successfully, but these errors were encountered: