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

Asynchronous Namespace Preload? #368

Open
dhleong opened this issue Aug 25, 2019 · 3 comments
Open

Asynchronous Namespace Preload? #368

dhleong opened this issue Aug 25, 2019 · 3 comments

Comments

@dhleong
Copy link
Contributor

dhleong commented Aug 25, 2019

While chasing down a "slow file opening" issue caused by my fireplace-based syntax highlighting, I noticed that the s:repl.preload operates synchronously, which seems to be my bottleneck. Would you be open to a PR that makes this operate asynchronously, or do you think that would introduce too much complexity?

@tpope
Copy link
Owner

tpope commented Aug 26, 2019

Why is s:repl.preload slow? It does little more than call require.

@dhleong
Copy link
Contributor Author

dhleong commented Aug 26, 2019 via email

@tpope
Copy link
Owner

tpope commented Sep 1, 2019

I think preloading asynchronously when evaling asynchronously would be reasonable.

dhleong added a commit to dhleong/vim-fireplace that referenced this issue Sep 3, 2019
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

2 participants