gbprod / yanky.nvim

Improved Yank and Put functionalities for Neovim
Do What The F*ck You Want To Public License
802 stars 22 forks source link

Revert "feat: defer sqlite insert to avoid highligth blink (#99)" #178

Closed gbprod closed 1 month ago

gbprod commented 1 month ago

This reverts commit 0dc8e0f262246ce4a891f0adf61336b3afe7c579.

As it seems to create bugs, I revert until I'll find how to fix it

Ref: #176 #177

xzbdmw commented 1 month ago

Hmm, #176 seems to be caused by setting and reading reg too many times to perform a paste, each time it will sync system clipborad so cause the lag

folke commented 1 month ago

I just noticed the delays again and now know why :)

I'll just switch to the shada backend for now.

folke commented 1 month ago

Is there actually any good reason to use the sqlite backend? I used sqlite because according to the docs it's supposed to be faster, but in reality it seems much slower from my testing.

gbprod commented 1 month ago

I have to investigate for the root cause of those delays. Sorry about that, I try to fix it asap ;)

gbprod commented 1 month ago

Is there actually any good reason to use the sqlite backend?

For me, it seems faster but I think I have to make some benchmarks with a lot of entries to be sure of that.