Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

feat: lazy load spectre core for the command #246

Merged
merged 1 commit into from
Jul 30, 2024

Conversation

antonk52
Copy link
Contributor

Hello

Currently the file plugin/spectre.lua execution takes just over 12.2ms on my laptop. I found it surprising giving that it only sets a single command. Making this small adjustment the execution time drops to 0.28ms. While 12ms is not a big difference this file is being sourced automatically at start up and it would be preferred to not block the startup by default when possible.

Hope this helps and thanks for your work

@EpsilonKu EpsilonKu merged commit 1f7562e into nvim-pack:master Jul 30, 2024
3 checks passed
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants