Perf - possible improvement
oknozor opened this issue · comments
Paul Delafosse commented
Opening the database:
Opening the database on start is quite slow.
We could probably spawn and iced subscription and send command history when it's ready.
Or maybe try to switch to a simpler solution like a plain text file or some binary format in $XDG_CACHE_DIR
Fetching db entries:
While opening the db is slow, fetching entries is fast.
Icon lookup:
I think because of glob patterns, this is completely random, we need to fetch in the background via iced messages.