buku icon indicating copy to clipboard operation
buku copied to clipboard

[bukuserver] Load a specific set of tags upon autocomplete

Open GreenLunar opened this issue 2 years ago • 3 comments

I've too many tags for autocomplete (as it is now) to be working properly, even on high end machines.

Buku seems to be loading ALL tags.

I suggest to start scan only on first charter; Once a character is pressed, load only a certain set of tags that is closest to the given characters; Doing it otherwise causes to an excessive usage of RAM.

GreenLunar avatar Jan 13 '22 18:01 GreenLunar

Testing once again (I hope it's the right repository I'm testing). Buku loads tags that contain a given string, not those that begin with a given string. I suggest to load a selection that begins with a given string, so performance will be better.

e: anyway, performance is better now.

~e2: buku loads a big set of tags before input of a character.~ (see e3, below)

e3: buku loads ALL tags just upon clicking on the tags field.

GreenLunar avatar Jan 20 '22 10:01 GreenLunar

@jarun, can we reopen this because half of this is not yet fixed by #546?

rachmadaniHaryono avatar Jan 22 '22 07:01 rachmadaniHaryono

Sure thing!

jarun avatar Jan 22 '22 07:01 jarun

@rachmadaniHaryono please confirm if this is fixed.

jarun avatar Aug 18 '22 16:08 jarun

no, it not yet fixed. i will look into it this weekend

current proposed solution is to add cache feature for buku tag when bukuserver start

rachmadaniHaryono avatar Aug 19 '22 01:08 rachmadaniHaryono