Skip to content
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

Plans on making it faster than coq.nvim? #46

Closed
ahmedkhalf opened this issue Aug 22, 2021 · 10 comments
Closed

Plans on making it faster than coq.nvim? #46

ahmedkhalf opened this issue Aug 22, 2021 · 10 comments

Comments

@ahmedkhalf
Copy link

ahmedkhalf commented Aug 22, 2021

Hello, I was just wondering if they were perhaps planning to make this plugin faster than nvim-compe and coq.nvim. Like recently, for example, Telescope pushed a feature for asynchronous matching which greatly improved the speed.

Also, I see that there is source creation, any plans on making sort creation too?

@hrsh7th
Copy link
Owner

hrsh7th commented Aug 23, 2021

First, Do you feel thw nvim-cmp slow now?

I think I had optimize nvim-cmp as much as possible.

If nvim ships mpack module as builtin, I will try to use it to improve performance.

@Shougo
Copy link

Shougo commented Aug 23, 2021

What is the optimization?
It is very interesting.

@hrsh7th
Copy link
Owner

hrsh7th commented Aug 23, 2021

nvim-cmp will cache the filtered items in every key stroke ( of cource, invalidate it if need)

@hrsh7th
Copy link
Owner

hrsh7th commented Aug 23, 2021

See neovim/neovim#15452

@hrsh7th
Copy link
Owner

hrsh7th commented Aug 23, 2021

@ahmedkhalf I will improve the documentation. Currently, this is not stable status and under development so documentation priority is a bit low than feature implementation.

If your question solved, please close this issue.

@ahmedkhalf
Copy link
Author

Thanks

@captainko
Copy link
Contributor

captainko commented Sep 10, 2021

neovim/neovim#15566
I guess mpack is shipped with neovim right now.

@hrsh7th
Copy link
Owner

hrsh7th commented Sep 10, 2021

Yes. I will investigate and try and error with it.

@mortezadadgar
Copy link

mortezadadgar commented Dec 1, 2021

@hrsh7th now that 0.6 is released would you tell us about progress you have made on using builtin mpack module, btw cmp is really fast and response but who doesn't want a faster completion engine right?

@hrsh7th
Copy link
Owner

hrsh7th commented Dec 1, 2021

I sometimes investigate when I have a free hand.
e.g. https://github.com/hrsh7th/nvim-lua-rpc-example-with-headless

I can't think of a good solution for now.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants