Skip to content

⚡ improve sqlite require time#111

Merged
kkharji merged 5 commits intomasterfrom
enh/improve_sqlite_require_time
Sep 4, 2021
Merged

⚡ improve sqlite require time#111
kkharji merged 5 commits intomasterfrom
enh/improve_sqlite_require_time

Conversation

@kkharji
Copy link
Copy Markdown
Owner

@kkharji kkharji commented Sep 3, 2021

Purpose

According @Conni2461, sqlite.lua require time takes 4.140682 ms.

I will try to adopt https://github.com/tjdevries/lazy.nvim/blob/master/lua/lazy.lua
approach and see if that improves it. credit @tjdevries

@kkharji kkharji requested a review from Conni2461 September 3, 2021 05:17
@Conni2461
Copy link
Copy Markdown
Collaborator

Conni2461 commented Sep 3, 2021

new time require time: 0.791636 ms obv util will always be required

@kkharji
Copy link
Copy Markdown
Owner Author

kkharji commented Sep 3, 2021

new time require time: 0.791636 ms obv util will always be required

WOW!!! that soooo much faster, how fast it became percentage wise .

Just out of curiosity, I'm going to push a version where I inline require_on_index in init.

@kkharji kkharji force-pushed the enh/improve_sqlite_require_time branch from 424f058 to 4c2a9ad Compare September 3, 2021 07:07
@kkharji kkharji merged commit f9a1060 into master Sep 4, 2021
@kkharji kkharji deleted the enh/improve_sqlite_require_time branch September 4, 2021 02:44
@kkharji kkharji mentioned this pull request Sep 5, 2021
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

Successfully merging this pull request may close these issues.

2 participants